LdapProviderGetConnectionAsync - метод
Получение соединения для работы с сервером LDAP
Пространство имён: Tessa.Extensions.Platform.Server.AdSyncСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public virtual ValueTask<AdConnection> GetConnectionAsync(
ILdapContext context,
string host,
CancellationToken cancellationToken = default
)
Public Overridable Function GetConnectionAsync (
context As ILdapContext,
host As String,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of AdConnection)
public:
virtual ValueTask<AdConnection^> GetConnectionAsync(
ILdapContext^ context,
String^ host,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetConnectionAsync :
context : ILdapContext *
host : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<AdConnection>
override GetConnectionAsync :
context : ILdapContext *
host : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<AdConnection>
- context ILdapContext
- host String
- Адрес
- cancellationToken CancellationToken (Optional)
ValueTaskAdConnectionILdapProviderGetConnectionAsync(ILdapContext, String, CancellationToken)