LdapProviderGetMainConnectionAsync - метод
Инициализация параметров
Пространство имён: Tessa.Extensions.Platform.Server.AdSyncСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public virtual ValueTask<AdConnection> GetMainConnectionAsync(
ILdapContext context,
bool alwaysCreateNew = false,
CancellationToken cancellationToken = default
)
Public Overridable Function GetMainConnectionAsync (
context As ILdapContext,
Optional alwaysCreateNew As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of AdConnection)
public:
virtual ValueTask<AdConnection^> GetMainConnectionAsync(
ILdapContext^ context,
bool alwaysCreateNew = false,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetMainConnectionAsync :
context : ILdapContext *
?alwaysCreateNew : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _alwaysCreateNew = defaultArg alwaysCreateNew false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<AdConnection>
override GetMainConnectionAsync :
context : ILdapContext *
?alwaysCreateNew : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _alwaysCreateNew = defaultArg alwaysCreateNew false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<AdConnection>
- context ILdapContext
-
- alwaysCreateNew Boolean (Optional)
-
- cancellationToken CancellationToken (Optional)
-
ValueTaskAdConnectionILdapProviderGetMainConnectionAsync(ILdapContext, Boolean, CancellationToken)