Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Concurrent­Access­Awaiter Structure

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: 5.0.38.0 (5.0.38.0)
Syntax
C#
public struct ConcurrentAccessAwaiter : ICriticalNotifyCompletion, 
	INotifyCompletion

The ConcurrentAccessAwaiter type exposes the following members.

Properties
  NameDescription
Public propertyIsCompleted
Determines whether the operation has already completed.
Methods
  NameDescription
Public methodGetAwaiter
Gets the Awaiter from the Awaitable. This method is a part of the Awaitable contract.
Public methodGetResult
Gets the result of the async method. This method is a part of the Awaiter contract.
Public methodOnCompleted
Public methodUnsafeOnCompleted
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also