NotifyOfNewConnectionCallback 대리자

정의

NotifyOfNewConnectionCallback 대리자는 조회를 추적하는 동안 새 연결이 만들어진 경우 호출됩니다.The NotifyOfNewConnectionCallback delegate is called if a new connection was created while chasing a referral.

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 개체입니다.A LdapConnection object that specifies the primary connection.

referralFromConnection
LdapConnection

조회를 제공한 연결을 지정하는 LdapConnection 개체입니다.A LdapConnection object that specifies the connection which provided the referral.

newDistinguishedName
String

참조된 서버에 있는 원하는 엔트리의 고유 이름을 지정하는 String 개체입니다.A String object that specifies the distinguished name of the desired entry in the referred server.

identifier
LdapDirectoryIdentifier

참조된 LDAP 디렉터리의 식별자를 지정하는 LdapDirectoryIdentifier 개체입니다.A LdapDirectoryIdentifier object that specifies the identifier the referred LDAP directory.

newConnection
LdapConnection

조회를 추적하는 과정에서 만들어진 새 연결을 지정하는 LdapConnection 개체입니다.A LdapConnection object that specifies the new connection created in the course of chasing a referral.

credential
NetworkCredential

참조된 서버에 전달할 자격 증명을 지정하는 NetworkCredential 개체입니다.A NetworkCredential object that specifies the credentials to pass to the referred server.

currentUserToken
Int64

현재 사용자의 LUID입니다.The LUID of the current user.

errorCodeFromBind
Int32

바인드 작업의 오류 코드를 지정하는 Int32 개체입니다.A Int32 object that specifies the error code from the bind operation.

반환 값

Boolean

연결이 캐시되는 경우 true입니다.true if the connection is to be cached. 연결을 캐시할 필요가 없는 경우 false입니다.false if not required to cache the connection.

상속
NotifyOfNewConnectionCallback

확장 메서드

GetMethodInfo(Delegate)

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.Gets an object that represents the method represented by the specified delegate.

적용 대상