NotifyOfNewConnectionCallback Delegar

Definição

O NotifyOfNewConnectionCallback delegado é chamado se uma nova conexão foi criada durante a busca de uma indicação.

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 

Parâmetros

primaryConnection
LdapConnection

Um LdapConnection objeto que especifica a conexão primária.

referralFromConnection
LdapConnection

Um LdapConnection objeto que especifica a conexão que forneceu a indicação.

newDistinguishedName
String

Um String objeto que especifica o nome diferenciado da entrada desejada no servidor referenciado.

identifier
LdapDirectoryIdentifier

Um LdapDirectoryIdentifier objeto que especifica o identificador do diretório LDAP referenciado.

newConnection
LdapConnection

Um LdapConnection objeto que especifica a nova conexão criada no curso da busca de uma indicação.

credential
NetworkCredential

Um NetworkCredential objeto que especifica as credenciais a serem passadas para o servidor referenciado.

currentUserToken
Int64

O LUID do usuário atual.

errorCodeFromBind
Int32

Um Int32 objeto que especifica o código de erro da operação de associação.

Valor Retornado

true se a conexão deve ser armazenada em cache. false se não for necessário armazenar a conexão em cache.

Métodos de Extensão

Nome Description
GetMethodInfo(Delegate)

Obtém um objeto que representa o método representado pelo delegado especificado.

Aplica-se a