SessionActivityStrategyInsertAsync - метод
Добавить запись об активной сессии.
Пространство имён: Tessa.Platform.RuntimeСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task InsertAsync(
Guid sessionID,
DateTime createdUtc,
CancellationToken cancellationToken = default
)
Public Function InsertAsync (
sessionID As Guid,
createdUtc As DateTime,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ InsertAsync(
Guid sessionID,
DateTime createdUtc,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract InsertAsync :
sessionID : Guid *
createdUtc : DateTime *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override InsertAsync :
sessionID : Guid *
createdUtc : DateTime *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- sessionID Guid
- Идентификатор сессии.
- createdUtc DateTime
- Дата и время создания в формате UTC.
- cancellationToken CancellationToken (Optional)
- Объект для отмены асинхронной операции.
TaskАсинхронная операция.
ISessionActivityStrategyInsertAsync(Guid, DateTime, CancellationToken)