Click or drag to resize
AsyncLock Class
Provides a mechanism for the mutual-exclusion of running code.
Inheritance Hierarchy
SystemObject
  CodeTiger.ThreadingAsyncLock

Namespace: CodeTiger.Threading
Assembly: CodeTiger.Core (in CodeTiger.Core.dll) Version: 1.0.0.0
Syntax
public sealed class AsyncLock

The AsyncLock type exposes the following members.

Constructors
  NameDescription
Public methodAsyncLock
Initializes a new instance of the AsyncLock class.
Top
Methods
  NameDescription
Public methodAcquire
Acquires an exclusive lock synchronously.
Public methodAcquire(CancellationToken)
Acquires an exclusive lock synchronously.
Public methodAcquireAsync
Acquires an exclusive lock asynchronously.
Public methodAcquireAsync(CancellationToken)
Acquires an exclusive lock asynchronously.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also