Post­Sharp Documentation / 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: 6.0.24.0 (6.0.24.0)
Syntax
C#
[SerializableAttribute]
public sealed class ConcurrentAccessException : ThreadingException
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.
See Also