語言

IChannelCredentials.SetDefaultServiceCertificateFromStore 方法

定義

從憑證儲存庫取得憑證,並將其作為預設憑證加入服務憑證。

public:
 void SetDefaultServiceCertificateFromStore(System::String ^ storeLocation, System::String ^ storeName, System::String ^ findType, System::Object ^ findValue);
public void SetDefaultServiceCertificateFromStore(string storeLocation, string storeName, string findType, object findValue);
abstract member SetDefaultServiceCertificateFromStore : string * string * string * obj -> unit
Public Sub SetDefaultServiceCertificateFromStore (storeLocation As String, storeName As String, findType As String, findValue As Object)

參數

storeLocation
String

證書店位置。

storeName
String

證書店名稱。

findType
String

搜尋類型。

findValue
Object

搜尋值。

適用於