Compartir a través de


AsyncReaderWriterResourceLock<TMoniker, TResource>.ResourceAwaiter.GetResult Method

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

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Public Function GetResult As AsyncReaderWriterResourceLock(Of T).ResourceReleaser
public AsyncReaderWriterResourceLock<T>.ResourceReleaser GetResult()
public:
AsyncReaderWriterResourceLock<T>::ResourceReleaser GetResult()
member GetResult : unit -> AsyncReaderWriterResourceLock<T>.ResourceReleaser
public function GetResult() : AsyncReaderWriterResourceLock<TMoniker, TResource>.ResourceReleaser

Return Value

Type: Microsoft.VisualStudio.Threading.AsyncReaderWriterResourceLock<TMoniker, TResource>.ResourceReleaser
Returns AsyncReaderWriterResourceLock<TMoniker, TResource>.ResourceReleaser.

.NET Framework Security

See Also

Reference

AsyncReaderWriterResourceLock<TMoniker, TResource>.ResourceAwaiter Structure

Microsoft.VisualStudio.Threading Namespace