Udostępnij za pośrednictwem


AsyncReaderWriterResourceLock<TMoniker,TResource>.ResourceAwaitable Struct

Definition

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.