ConsoleSessionManagerOpenAsync - метод |
Пространство имён:
Tessa.Platform.ConsoleApps
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public Task<bool> OpenAsync(
ISessionCredentials credentials,
bool extendedInitialization = false,
CancellationToken cancellationToken = default
)
Public Function OpenAsync (
credentials As ISessionCredentials,
Optional extendedInitialization As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Boolean)
public:
Task<bool>^ OpenAsync(
ISessionCredentials^ credentials,
bool extendedInitialization = false,
CancellationToken cancellationToken = CancellationToken()
)
member OpenAsync :
credentials : ISessionCredentials *
?extendedInitialization : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _extendedInitialization = defaultArg extendedInitialization false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
Параметры
- credentials
- Тип: Tessa.Platform.RuntimeISessionCredentials
- extendedInitialization (Optional)
- Тип: SystemBoolean
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskBooleanСм. также