Udostępnij za pośrednictwem


AsyncReaderWriterLock.Awaiter.GetResult Method

Definition

Applies the issued lock to the caller and returns the value used to release the lock.

public:
 Microsoft::VisualStudio::Threading::AsyncReaderWriterLock::Releaser GetResult();
public Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.Releaser GetResult ();
member this.GetResult : unit -> Microsoft.VisualStudio.Threading.AsyncReaderWriterLock.Releaser
Public Function GetResult () As AsyncReaderWriterLock.Releaser

Returns

The value to dispose of to release the lock.

Applies to