NotifyOfNewConnectionCallback Delegado
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Se llama al delegado NotifyOfNewConnectionCallback si se crea una nueva conexión mientras se busca una referencia.
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
Objeto LdapConnection que especifica la conexión principal.
- referralFromConnection
- LdapConnection
Objeto LdapConnection que especifica la conexión que proporcionó la referencia.
- newDistinguishedName
- String
Objeto String que especifica el nombre distintivo de la entrada deseada en el servidor al que se hace referencia.
- identifier
- LdapDirectoryIdentifier
Objeto LdapDirectoryIdentifier que especifica el identificador del directorio LDAP al que se hace referencia.
- newConnection
- LdapConnection
Objeto LdapConnection que especifica la nueva conexión creada durante la búsqueda de una referencia.
- credential
- NetworkCredential
Objeto NetworkCredential que especifica las credenciales que se pasan al servidor al que se hace referencia.
- currentUserToken
- Int64
LUID del usuario actual.
Es true
si la conexión se debe almacenar en memoria caché. Es false
si no es necesario almacenar la conexión en memoria caché.
Get |
Obtiene un objeto que representa el método representado por el delegado especificado. |
Producto | Versiones |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: