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
Объект LdapDirectoryIdentifier, задающий идентификатор ссылаемого каталога LDAP.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.
Возвращаемое значение
Значение true
, если соединение должно кэшироваться.true
if the connection is to be cached. Значение false
, если кэшировать соединение не требуется.false
if not required to cache the connection.
- Наследование
Методы расширения
GetMethodInfo(Delegate) |
Получает объект, представляющий метод, представленный указанным делегатом.Gets an object that represents the method represented by the specified delegate. |