KrViewSessionExecutorTryExecuteInSeparateSessionAsyncT - метод |
Пространство имён:
Tessa.Extensions.Default.Client.Notifications
Сборка:
Tessa.Extensions.Default.Client (в Tessa.Extensions.Default.Client.dll) Версия: 3.5.0.19
Синтаксис public Task<T> TryExecuteInSeparateSessionAsync<T>(
Func<CancellationToken, Task<T>> funcAsync,
Guid? applicationID,
CancellationToken cancellationToken = default
)
Public Function TryExecuteInSeparateSessionAsync(Of T) (
funcAsync As Func(Of CancellationToken, Task(Of T)),
applicationID As Guid?,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of T)
public:
generic<typename T>
Task<T>^ TryExecuteInSeparateSessionAsync(
Func<CancellationToken, Task<T>^>^ funcAsync,
Nullable<Guid> applicationID,
CancellationToken cancellationToken = CancellationToken()
)
member TryExecuteInSeparateSessionAsync :
funcAsync : Func<CancellationToken, Task<'T>> *
applicationID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<'T>
Параметры
- funcAsync
- Тип: SystemFuncCancellationToken, TaskT
- applicationID
- Тип: SystemNullableGuid
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Параметры типа
- T
Возвращаемое значение
Тип:
TaskTСм. также