PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Concurrent­Access­Token Structure / Concurrent­Access­Token Methods
ConcurrentAccessToken Methods

The ConcurrentAccessToken type exposes the following members.

Methods
  Name Description
Public method Cancel
Indicates that the operation requiring access on an object failed.
Public method CheckContext
Determines whether the current ConcurrentAccessToken is valid in the current context.
Public method Complete
Indicates that the operation requiring access on an object has successfully completed.
Public method Dispose
Indicates that the operation requiring access on an object has completed. If the Complete() method is not invoked before the Dispose() method, the transaction is considered to have failed. Current threading models do not support transactions and therefore this semantic is currently unused, but it may be used in the future.
Extension Methods
  Name Description
Public Extension Method QueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also