NotifyOfNewConnectionCallback Delegera
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Ombudet NotifyOfNewConnectionCallback anropas om en ny anslutning skapades när en hänvisning jagades.
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
Parametrar
- primaryConnection
- LdapConnection
Ett LdapConnection objekt som anger den primära anslutningen.
- referralFromConnection
- LdapConnection
Ett LdapConnection objekt som anger anslutningen som tillhandahöll hänvisningen.
- newDistinguishedName
- String
Ett String objekt som anger det unika namnet på den önskade posten på den refererade servern.
- identifier
- LdapDirectoryIdentifier
Ett LdapDirectoryIdentifier objekt som anger identifieraren för den refererade LDAP-katalogen.
- newConnection
- LdapConnection
Ett LdapConnection objekt som anger den nya anslutningen som skapades under jakten på en hänvisning.
- credential
- NetworkCredential
Ett NetworkCredential objekt som anger de autentiseringsuppgifter som ska skickas till den refererade servern.
- currentUserToken
- Int64
LUID för den aktuella användaren.
Returvärde
true om anslutningen ska cachelagras.
false om det inte krävs för att cachelagras anslutningen.
Tilläggsmetoder
| Name | Description |
|---|---|
| GetMethodInfo(Delegate) |
Hämtar ett objekt som representerar den metod som representeras av det angivna ombudet. |