NotifyOfNewConnectionCallback Temsilci

Tanım

Referans takip NotifyOfNewConnectionCallback edilirken yeni bir bağlantı oluşturulduysa temsilci çağrılır.

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 

Parametreler

primaryConnection
LdapConnection

LdapConnection Birincil bağlantıyı belirten bir nesne.

referralFromConnection
LdapConnection

LdapConnection Başvuruyu sağlayan bağlantıyı belirten bir nesne.

newDistinguishedName
String

String Başvuruda bulunılan sunucuda istenen girişin ayırt edici adını belirten bir nesne.

identifier
LdapDirectoryIdentifier

LdapDirectoryIdentifier Başvuruda bulunılan LDAP dizininin tanımlayıcısını belirten bir nesne.

newConnection
LdapConnection

Bir LdapConnection referansı takip etmek için oluşturulan yeni bağlantıyı belirten nesne.

credential
NetworkCredential

NetworkCredential Başvuruda bulunılan sunucuya geçirilen kimlik bilgilerini belirten bir nesne.

currentUserToken
Int64

Geçerli kullanıcının LUID değeri.

errorCodeFromBind
Int32

Int32 Bağlama işleminden hata kodunu belirten bir nesne.

Dönüş Değeri

true bağlantı önbelleğe alınacaksa. false bağlantıyı önbelleğe almak için gerekli değilse.

Uzantı Metotları

GetMethodInfo(Delegate)

Belirtilen temsilci tarafından temsil edilen yöntemi temsil eden bir nesnesi alır.

Şunlara uygulanır