PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Thread­Aware­Extensions Class / Thread­Aware­Extensions Methods / Thread­Aware­Extensions.​Acquire­Access Method
ThreadAwareExtensions.AcquireAccess Method
Overload List
  Name Description
Public method Static member AcquireAccess(IThreadAware, ObjectAccessLevel)
Acquires access to given object and returns the ConcurrentAccessToken.
Public method Static member AcquireAccess(IThreadAware, ObjectAccessLevel, ConcurrentAccessToken)
Acquires access for a given object and gets the ConcurrentAccessToken as a reference parameter.
See Also