NotifyOfNewConnectionCallback Delegar
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
O NotifyOfNewConnectionCallback delegado é chamado se foi criada uma nova ligação enquanto procura 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
Parâmetros
- primaryConnection
- LdapConnection
Um objeto que especifica LdapConnection a ligação primária.
- referralFromConnection
- LdapConnection
Um objeto que especifica a ligação que forneceu LdapConnection a referência.
- newDistinguishedName
- String
Um String objeto que especifica o nome distinto da entrada desejada no servidor referido.
- identifier
- LdapDirectoryIdentifier
Um LdapDirectoryIdentifier objeto que especifica o identificador do diretório LDAP referido.
- newConnection
- LdapConnection
Um LdapConnection objeto que especifica a nova ligação criada durante a perseguição de uma referência.
- credential
- NetworkCredential
Um NetworkCredential objeto que especifica as credenciais a passar para o servidor referido.
- currentUserToken
- Int64
O LUID do utilizador atual.
Devolver Valor
true se a ligação for para ser armazenada em cache.
false Se não for necessário armazenar a ligação em cache.
Métodos da Extensão
| Name | Description |
|---|---|
| GetMethodInfo(Delegate) |
Obtém um objeto que representa o método representado pelo delegado especificado. |