PostSharp4.3/API Reference/Post­Sharp.​Patterns.​Threading Namespace/Concurrent­Access­Exception Class
ConcurrentAccessException Class
Exception thrown when two threads simultaneously attempt to access a method annotated with the ThreadUnsafeAttribute custom attribute.
Inheritance Hierarchy
System.Object
  System.Exception
    PostSharp.Patterns.Threading.ThreadingException
      PostSharp.Patterns.Threading.ConcurrentAccessException

Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
[SerializableAttribute]
public sealed class ConcurrentAccessException : ThreadingException

The ConcurrentAccessException type exposes the following members.

Constructors
  NameDescription
Public methodConcurrentAccessException()
Initializes a new ConcurrentAccessException.
Public methodConcurrentAccessException(String)
Initializes a new ConcurrentAccessException and sets the error message.
Public methodConcurrentAccessException(String, Exception)
Initializes a new ConcurrentAccessException and sets the error message and the inner exception.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also