AsyncReaderWriterLock.Awaiter Class
Microsoft internal only. Manages asynchronous access to a lock..
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.Awaiter
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Class Awaiter _
Implements INotifyCompletion
public class Awaiter : INotifyCompletion
public ref class Awaiter : INotifyCompletion
type Awaiter =
class
interface INotifyCompletion
end
public class Awaiter implements INotifyCompletion
The AsyncReaderWriterLock.Awaiter type exposes the following members.
Properties
Name | Description | |
---|---|---|
IsCompleted | Microsoft internal only. Determines whether the lock has been issued. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetResult | Microsoft internal only. Applies the issued lock to the caller and returns the value used to release the lock. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnCompleted | Microsoft internal only. Sets the delegate to execute when the lock is available. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.