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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
AsyncReaderWriterResourceLock<TMoniker, TResource>.ResourceAwaiter Structure