PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingConcurrent­Access­Awaiter
Open sandboxFocus

ConcurrentAccessAwaiter Class

An awaiter for the AcquireAccessAsync(ObjectAccessLevel) method. The struct implements both the Awaiter and Awaitable contracts.

Inheritance
ConcurrentAccessAwaiter
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class ConcurrentAccessAwaiter : ValueType

Properties

Name Description
IsCompleted

Determines whether the operation has already completed.

Methods

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(Action)
UnsafeOnCompleted(Action)