KrViewSessionExecutorTryExecuteInSeparateSessionAsyncT - метод
Пространство имён: Tessa.Extensions.Default.Client.NotificationsСборка: Tessa.Extensions.Default.Client (в Tessa.Extensions.Default.Client.dll) Версия: 3.6.0.22
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 FuncCancellationToken, TaskT
-
- applicationID NullableGuid
-
- cancellationToken CancellationToken (Optional)
-
- T
TaskT