CacheableLocalizationServiceBaseEnterLockSafeAsync - метод
Enters in lock for synchronization or asynchronous calls.
Пространство имён: Tessa.LocalizationСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
protected Task<IDisposable?> EnterLockSafeAsync(
CancellationToken cancellationToken = default
)
Protected Function EnterLockSafeAsync (
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IDisposable)
protected:
Task<IDisposable^>^ EnterLockSafeAsync(
CancellationToken cancellationToken = CancellationToken()
)
member EnterLockSafeAsync :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IDisposable>
- cancellationToken CancellationToken (Optional)
- Object to cancel asynchronous operation.
TaskIDisposableObject to dispose lock, or null if current service has already been disposed.