Exception thrown when two threads simultaneously attempt to execute methods of an object whose class is annotated with the ThreadUnsafeAttribute custom attribute.
Implements
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public sealed class ConcurrentAccessException : ThreadingException, ISerializableRemarks
This exception is thrown only when run-time verification is enabled (see RuntimeVerificationEnabled).
Constructors
| Name | Description |
|---|---|
| ConcurrentAccessException() | Initializes a new instance of the ConcurrentAccessException class. |
| ConcurrentAccessException(string) | Initializes a new instance of the ConcurrentAccessException class and sets the error message. |
| ConcurrentAccessException(string, Exception) | Initializes a new instance of the ConcurrentAccessException class and sets the error message and the inner exception. |