AsyncReaderWriterResourceLock<TMoniker,TResource>.ResourceAwaitable Struct
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.
An awaitable that is returned from asynchronous lock requests.
public: where TResource : classvalue class AsyncReaderWriterResourceLock<TMoniker, TResource>::ResourceAwaitable
public struct AsyncReaderWriterResourceLock<TMoniker,TResource>.ResourceAwaitable where TResource : class
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct AsyncReaderWriterResourceLock<TMoniker,TResource>.ResourceAwaitable where TResource : class
type AsyncReaderWriterResourceLock<'Moniker, 'Resource (requires 'Resource : null)>.ResourceAwaitable = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type AsyncReaderWriterResourceLock<'Moniker, 'Resource (requires 'Resource : null)>.ResourceAwaitable = struct
Public Structure AsyncReaderWriterResourceLock(Of TMoniker, TResource).ResourceAwaitable
Type Parameters
- TMoniker
- TResource
- Inheritance
-
AsyncReaderWriterResourceLock<TMoniker,TResource>.ResourceAwaitable
- Attributes
Methods
GetAwaiter() |
Gets the awaiter value. |
Applies to
Thread Safety
This type is thread-safe for all members.