ObjectTransactionLockingStrategyReleaseObjectAsync - метод
Освобождает блокировку объекта.
Пространство имён: Tessa.Platform.ObjectLockingСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task ReleaseObjectAsync(
Guid objectID,
ObjectLockTypes? expectedLockType,
CancellationToken cancellationToken = default
)
Public Function ReleaseObjectAsync (
objectID As Guid,
expectedLockType As ObjectLockTypes?,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ ReleaseObjectAsync(
Guid objectID,
Nullable<ObjectLockTypes> expectedLockType,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract ReleaseObjectAsync :
objectID : Guid *
expectedLockType : Nullable<ObjectLockTypes> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override ReleaseObjectAsync :
objectID : Guid *
expectedLockType : Nullable<ObjectLockTypes> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- objectID Guid
- Идентификатор объекта.
- expectedLockType NullableObjectLockTypes
- Ожидаемый тип блокировки объекта.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskАсинхронная задача.
IObjectTransactionLockingStrategyReleaseObjectAsync(Guid, NullableObjectLockTypes, CancellationToken)