NotifyOfNewConnectionCallback 대리자

정의

NotifyOfNewConnectionCallback 대리자는 조회를 추적하는 동안 새 연결이 만들어진 경우 호출됩니다.

public delegate bool NotifyOfNewConnectionCallback(LdapConnection ^ primaryConnection, LdapConnection ^ referralFromConnection, System::String ^ newDistinguishedName, LdapDirectoryIdentifier ^ identifier, LdapConnection ^ newConnection, NetworkCredential ^ credential, long currentUserToken, int errorCodeFromBind);
public delegate bool NotifyOfNewConnectionCallback(LdapConnection primaryConnection, LdapConnection referralFromConnection, string newDistinguishedName, LdapDirectoryIdentifier identifier, LdapConnection newConnection, NetworkCredential credential, long currentUserToken, int errorCodeFromBind);
type NotifyOfNewConnectionCallback = delegate of LdapConnection * LdapConnection * string * LdapDirectoryIdentifier * LdapConnection * NetworkCredential * int64 * int -> bool
Public Delegate Function NotifyOfNewConnectionCallback(primaryConnection As LdapConnection, referralFromConnection As LdapConnection, newDistinguishedName As String, identifier As LdapDirectoryIdentifier, newConnection As LdapConnection, credential As NetworkCredential, currentUserToken As Long, errorCodeFromBind As Integer) As Boolean 

매개 변수

primaryConnection
LdapConnection

기본 연결을 지정하는 LdapConnection 개체입니다.

referralFromConnection
LdapConnection

조회를 제공한 연결을 지정하는 LdapConnection 개체입니다.

newDistinguishedName
String

참조된 서버에 있는 원하는 엔트리의 고유 이름을 지정하는 String 개체입니다.

identifier
LdapDirectoryIdentifier

참조된 LDAP 디렉터리의 식별자를 지정하는 LdapDirectoryIdentifier 개체입니다.

newConnection
LdapConnection

조회를 추적하는 과정에서 만들어진 새 연결을 지정하는 LdapConnection 개체입니다.

credential
NetworkCredential

참조된 서버에 전달할 자격 증명을 지정하는 NetworkCredential 개체입니다.

currentUserToken
Int64

현재 사용자의 LUID입니다.

errorCodeFromBind
Int32

바인드 작업의 오류 코드를 지정하는 Int32 개체입니다.

반환 값

연결이 캐시되는 경우 true입니다. 연결을 캐시할 필요가 없는 경우 false입니다.

확장 메서드

GetMethodInfo(Delegate)

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.

적용 대상