ConcurrentAccessAwaiter Structure |
An awaiter for the AcquireAccessAsync(ObjectAccessLevel) method. The struct implements both the Awaiter and Awaitable contracts.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public readonly struct ConcurrentAccessAwaiter : ICriticalNotifyCompletion, INotifyCompletion
The ConcurrentAccessAwaiter type exposes the following members.
Name | Description | |
---|---|---|
IsCompleted |
Determines whether the operation has already completed.
|
Name | Description | |
---|---|---|
GetAwaiter |
Gets the Awaiter from the Awaitable. This method is a part of the Awaitable contract.
| |
GetResult |
Gets the result of the async method. This method is a part of the Awaiter contract.
| |
OnCompleted | Schedules the continuation action that's invoked when the instance completes. | |
UnsafeOnCompleted | Schedules the continuation action that's invoked when the instance completes. |