NotifyOfNewConnectionCallback Delegat

Definicja

Delegat NotifyOfNewConnectionCallback jest wywoływany, jeśli utworzono nowe połączenie podczas kierowania polecenia.

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 

Parametry

primaryConnection
LdapConnection

Obiekt LdapConnection określający połączenie podstawowe.

referralFromConnection
LdapConnection

Obiekt LdapConnection określający połączenie, które podało odwołanie.

newDistinguishedName
String

Obiekt String określający nazwę wyróżniającą żądanego wpisu na określonym serwerze.

identifier
LdapDirectoryIdentifier

Obiekt LdapDirectoryIdentifier określający identyfikator katalogu LDAP, do której się odwiązał.

newConnection
LdapConnection

Obiekt określający nowe połączenie utworzone w trakcie kierowania LdapConnection odwołania.

credential
NetworkCredential

Obiekt NetworkCredential określający poświadczenia do przekazania do określonego serwera.

currentUserToken
Int64

Identyfikator LUID bieżącego użytkownika.

errorCodeFromBind
Int32

Obiekt Int32 określający kod błędu z operacji powiązania.

Wartość zwracana

Boolean

true jeśli połączenie ma być buforowane. false jeśli nie jest to wymagane do buforowania połączenia.

Metody rozszerzania

GetMethodInfo(Delegate)

Pobiera obiekt reprezentujący metodę reprezentowaną przez określonego delegata.

Dotyczy