IConsoleSessionManagerOpenAsync - метод
Open session.
Пространство имён: Tessa.Platform.ConsoleAppsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
Task<bool> OpenAsync(
ISessionCredentials? credentials,
bool extendedInitialization = false,
Func<Exception, CancellationToken, ValueTask>? onExceptionAsync = null,
CancellationToken cancellationToken = default
)
Function OpenAsync (
credentials As ISessionCredentials,
Optional extendedInitialization As Boolean = false,
Optional onExceptionAsync As Func(Of Exception, CancellationToken, ValueTask) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Boolean)
Task<bool>^ OpenAsync(
ISessionCredentials^ credentials,
bool extendedInitialization = false,
Func<Exception^, CancellationToken, ValueTask>^ onExceptionAsync = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract OpenAsync :
credentials : ISessionCredentials *
?extendedInitialization : bool *
?onExceptionAsync : Func<Exception, CancellationToken, ValueTask> *
?cancellationToken : CancellationToken
(* Defaults:
let _extendedInitialization = defaultArg extendedInitialization false
let _onExceptionAsync = defaultArg onExceptionAsync null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
- credentials ISessionCredentials
Настройки входа, используемые для открытия сессии.
- extendedInitialization Boolean (Optional)
- Whether use extensions.
- onExceptionAsync FuncException, CancellationToken, ValueTask (Optional)
- Exception handler callback.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskBooleanWhether session is opened.