X509CertificateStoreTokenResolver Constructor (String, StoreLocation)

.NET Framework (current version)
 

Initializes a new instance of the X509CertificateStoreTokenResolver class that uses the X.509 certificate store with the specified location and name to resolve tokens.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public X509CertificateStoreTokenResolver(
	string storeName,
	StoreLocation storeLocation
)

Parameters

storeName
Type: System.String

The name of the X.509 certificate store.

storeLocation
Type: System.Security.Cryptography.X509Certificates.StoreLocation

One of the enumeration values that specify the location of an X.509 certificate store.

Exception Condition
ArgumentNullException

storeLocation is null or an empty string.

.NET Framework
Available since 4.5
Return to top
Show: