ConcurrentAccessAwaiter Structure |
An awaiter for the AcquireAccessAsync(ObjectAccessLevel) method. The struct implements both the Awaiter and Awaitable contracts.
Namespace: PostSharp.Patterns.ThreadingAssembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.48.0 (4.3.48.0)

C#
public 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. |

Name | Description | |
---|---|---|
![]() | QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |
