共用方式為


X509CertificateStoreTokenResolver 建構函式

定義

初始化 X509CertificateStoreTokenResolver 類別的執行個體。

多載

X509CertificateStoreTokenResolver()

使用預設 X.509 憑證存放區,初始化 X509CertificateStoreTokenResolver 類別的新執行個體。

X509CertificateStoreTokenResolver(StoreName, StoreLocation)

初始化 X509CertificateStoreTokenResolver 類別的新執行個體,這個執行個體使用 X.509 憑證存放區搭配指定的位置和名稱,以解析權杖。

X509CertificateStoreTokenResolver(String, StoreLocation)

初始化 X509CertificateStoreTokenResolver 類別的新執行個體,這個執行個體使用 X.509 憑證存放區搭配指定的位置和名稱,以解析權杖。

X509CertificateStoreTokenResolver()

使用預設 X.509 憑證存放區,初始化 X509CertificateStoreTokenResolver 類別的新執行個體。

public:
 X509CertificateStoreTokenResolver();
public X509CertificateStoreTokenResolver ();
Public Sub New ()

備註

預設存放區位置為 LocalMachine。 預設存放區名稱為 My

適用於

X509CertificateStoreTokenResolver(StoreName, StoreLocation)

初始化 X509CertificateStoreTokenResolver 類別的新執行個體,這個執行個體使用 X.509 憑證存放區搭配指定的位置和名稱,以解析權杖。

public:
 X509CertificateStoreTokenResolver(System::Security::Cryptography::X509Certificates::StoreName storeName, System::Security::Cryptography::X509Certificates::StoreLocation storeLocation);
public X509CertificateStoreTokenResolver (System.Security.Cryptography.X509Certificates.StoreName storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation);
new System.IdentityModel.Tokens.X509CertificateStoreTokenResolver : System.Security.Cryptography.X509Certificates.StoreName * System.Security.Cryptography.X509Certificates.StoreLocation -> System.IdentityModel.Tokens.X509CertificateStoreTokenResolver
Public Sub New (storeName As StoreName, storeLocation As StoreLocation)

參數

storeName
StoreName

其中一個指定 X.509 憑證存放區名稱的列舉值。

storeLocation
StoreLocation

其中一個指定 X.509 憑證存放區位置的列舉值。

適用於

X509CertificateStoreTokenResolver(String, StoreLocation)

初始化 X509CertificateStoreTokenResolver 類別的新執行個體,這個執行個體使用 X.509 憑證存放區搭配指定的位置和名稱,以解析權杖。

public:
 X509CertificateStoreTokenResolver(System::String ^ storeName, System::Security::Cryptography::X509Certificates::StoreLocation storeLocation);
public X509CertificateStoreTokenResolver (string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation);
new System.IdentityModel.Tokens.X509CertificateStoreTokenResolver : string * System.Security.Cryptography.X509Certificates.StoreLocation -> System.IdentityModel.Tokens.X509CertificateStoreTokenResolver
Public Sub New (storeName As String, storeLocation As StoreLocation)

參數

storeName
String

X.509 憑證存放區的名稱。

storeLocation
StoreLocation

其中一個指定 X.509 憑證存放區位置的列舉值。

例外狀況

storeLocationnull 或空字串。

適用於