共用方式為


QueryClientCertificateCallback 代理人

定義

QueryClientCertificateCallback 委派會取得或設定預設回呼 (Callback) 函式,用於在建立 SSL 連接時指定用戶端憑證。

public delegate System::Security::Cryptography::X509Certificates::X509Certificate ^ QueryClientCertificateCallback(LdapConnection ^ connection, cli::array <cli::array <System::Byte> ^> ^ trustedCAs);
public delegate System.Security.Cryptography.X509Certificates.X509Certificate QueryClientCertificateCallback(LdapConnection connection, byte[][] trustedCAs);
type QueryClientCertificateCallback = delegate of LdapConnection * byte[][] -> X509Certificate
Public Delegate Function QueryClientCertificateCallback(connection As LdapConnection, trustedCAs As Byte()()) As X509Certificate 

參數

connection
LdapConnection

指定連接的 LdapConnection 物件。

trustedCAs
Byte[][]

Byte 陣列的陣列,指定受信任的憑證授權單位 (CA)。

傳回值

預設回呼函式,用於在建立 SSL 連接時指定用戶端憑證。

擴充方法

GetMethodInfo(Delegate)

取得表示特定委派所代表之方法的物件。

適用於