AsyncReaderWriterResourceLock<TMoniker,TResource>.ResourceAwaiter.GetResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Applies the issued lock to the caller and returns the value used to release the lock.
public:
Microsoft::VisualStudio::Threading::AsyncReaderWriterResourceLock<TMoniker, TResource>::ResourceReleaser GetResult();
public Microsoft.VisualStudio.Threading.AsyncReaderWriterResourceLock<TMoniker,TResource>.ResourceReleaser GetResult ();
member this.GetResult : unit -> Microsoft.VisualStudio.Threading.AsyncReaderWriterResourceLock<'Moniker, 'Resource (requires 'Resource : null)>.ResourceReleaser
Public Function GetResult () As AsyncReaderWriterResourceLock(Of TMoniker, TResource).ResourceReleaser
Returns
The value to dispose of to release the lock.