QueryForConnectionCallback 代理人
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
QueryForConnectionCallback デリゲートは、使用できるキャッシュされた接続が存在するかどうかを確認します。
public delegate System::DirectoryServices::Protocols::LdapConnection ^ QueryForConnectionCallback(LdapConnection ^ primaryConnection, LdapConnection ^ referralFromConnection, System::String ^ newDistinguishedName, LdapDirectoryIdentifier ^ identifier, NetworkCredential ^ credential, long currentUserToken);
C#
public delegate System.DirectoryServices.Protocols.LdapConnection QueryForConnectionCallback(LdapConnection primaryConnection, LdapConnection referralFromConnection, string newDistinguishedName, LdapDirectoryIdentifier identifier, NetworkCredential credential, long currentUserToken);
type QueryForConnectionCallback = delegate of LdapConnection * LdapConnection * string * LdapDirectoryIdentifier * NetworkCredential * int64 -> LdapConnection
Public Delegate Function QueryForConnectionCallback(primaryConnection As LdapConnection, referralFromConnection As LdapConnection, newDistinguishedName As String, identifier As LdapDirectoryIdentifier, credential As NetworkCredential, currentUserToken As Long) As LdapConnection
- primaryConnection
- LdapConnection
プライマリ接続を指定する LdapConnection オブジェクト。
- referralFromConnection
- LdapConnection
参照を提供する接続を指定する LdapConnection オブジェクト。
- identifier
- LdapDirectoryIdentifier
参照される LDAP ディレクトリの識別子を指定する LdapDirectoryIdentifier オブジェクト。
- credential
- NetworkCredential
参照されるサーバーに渡すための資格情報を指定する NetworkCredential オブジェクト。
- currentUserToken
- Int64
現在のユーザーの LUID。
使用できるものが存在する場合、キャッシュされた LdapConnection が返されます。 使用できるキャッシュされた接続が存在しない場合、NULL
が返されます。
Get |
指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。 |
製品 | バージョン |
---|---|
.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 |
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。