Freigeben über


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
Public property IsCompleted Microsoft internal only. Determines whether the lock has been issued.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetResult Microsoft internal only. Applies the issued lock to the caller and returns the value used to release the lock.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OnCompleted Microsoft internal only. Sets the delegate to execute when the lock is available.
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Threading Namespace