QueryForConnectionCallback 代理人

定義

QueryForConnectionCallback デリゲートは、キャッシュされた接続が使用可能かどうかを判断します。

public delegate System::DirectoryServices::Protocols::LdapConnection ^ QueryForConnectionCallback(LdapConnection ^ primaryConnection, LdapConnection ^ referralFromConnection, System::String ^ newDistinguishedName, LdapDirectoryIdentifier ^ identifier, NetworkCredential ^ credential, long currentUserToken);
public delegate System.DirectoryServices.Protocols.LdapConnection QueryForConnectionCallback(LdapConnection primaryConnection, LdapConnection referralFromConnection, string newDistinguishedName, LdapDirectoryIdentifier identifier, NetworkCredential credential, long currentUserToken);
type QueryForConnectionCallback = delegate of LdapConnection * LdapConnection * string * LdapDirectoryIdentifier * NetworkCredential * int64 -> LdapConnection
Public Delegate Function QueryForConnectionCallback(primaryConnection As LdapConnection, referralFromConnection As LdapConnection, newDistinguishedName As String, identifier As LdapDirectoryIdentifier, credential As NetworkCredential, currentUserToken As Long) As LdapConnection 

パラメーター

primaryConnection
LdapConnection

プライマリ接続を指定する LdapConnection オブジェクト。

referralFromConnection
LdapConnection

紹介を提供する接続を指定する LdapConnection オブジェクト。

newDistinguishedName
String

参照されるサーバー内の目的のエントリの識別名 (DN) を指定する String オブジェクト。

identifier
LdapDirectoryIdentifier

参照される LDAP ディレクトリの識別子を指定する LdapDirectoryIdentifier オブジェクト。

credential
NetworkCredential

参照されるサーバーに渡す資格情報を指定する NetworkCredential オブジェクト。

currentUserToken
Int64

現在のユーザーの LUID。

戻り値

キャッシュされた LdapConnection が返されます (使用可能な場合)。 キャッシュされた接続が使用できない場合は、 NULL が返されます。

拡張メソッド

名前 説明
GetMethodInfo(Delegate)

指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。

適用対象