NotifyOfNewConnectionCallback Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- primaryConnection
- LdapConnection
A LdapConnection object that specifies the primary connection.
- referralFromConnection
- LdapConnection
A LdapConnection object that specifies the connection which provided the referral.
- newDistinguishedName
- String
A String object that specifies the distinguished name of the desired entry in the referred server.
- identifier
- LdapDirectoryIdentifier
A LdapDirectoryIdentifier object that specifies the identifier the referred LDAP directory.
- newConnection
- LdapConnection
A LdapConnection object that specifies the new connection created in the course of chasing a referral.
- credential
- NetworkCredential
A NetworkCredential object that specifies the credentials to pass to the referred server.
- currentUserToken
- Int64
The LUID of the current user.
Return Value
true
if the connection is to be cached. false
if not required to cache the connection.
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기