NotifyOfNewConnectionCallback Delegar
Neste artigo
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
O delegado NotifyOfNewConnectionCallback será chamado se uma nova conexão tiver sido criada durante a busca de uma referência.
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
Um objeto LdapConnection que especifica a conexão primária.
- referralFromConnection
- LdapConnection
Um objeto LdapConnection que especifica a conexão que forneceu a referência.
- newDistinguishedName
- String
Um objeto String que especifica o nome diferenciado da entrada desejada no servidor indicado.
- identifier
- LdapDirectoryIdentifier
Um objeto LdapDirectoryIdentifier que especifica o identificador do diretório LDAP referenciado.
- newConnection
- LdapConnection
Um objeto LdapConnection que especifica a nova conexão criada no decorrer da busca de uma referência.
- credential
- NetworkCredential
Um objeto NetworkCredential que especifica as credenciais a serem passadas ao servidor indicado.
- currentUserToken
- Int64
O LUID do usuário atual.
true
se a conexão precisar ser armazenada em cache.
false
se não for necessário armazenar em cache a conexão.
Get |
Obtém um objeto que representa o método representado pelo delegado especificado. |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: