public sealed class AsyncLock : IDisposablePublic NotInheritable Class AsyncLock
Implements IDisposablepublic ref class AsyncLock sealed : IDisposable[<SealedAttribute>]
type AsyncLock =
class
interface IDisposable
end| AsyncLock | Создаёт экземпляр класса с параметрами по умолчанию. |
| Dispose | Освобождает ресурсы, занимаемые объектом. |
| EnterAsync | Выполняет асинхронное ожидание блокировки с её последующим взятием. При вызове Dispose() на возвращаемом объекте блокировка будет снята. Рекомендуется вызывать в блоке: using (await lock.EnterAsync(context.CancellationToken).ConfigureAwait(false)) { ... } |
| Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
| GetHashCode | Serves as the default hash function. (Унаследован от Object) |
| GetType | Gets the Type of the current instance. (Унаследован от Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |
| Get | (Определяется ComHelper) |
| InternalMarkerCanvas |
Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor) |
| Invoke | (Определяется ComHelper) |
| Set | (Определяется ComHelper) |