Exception thrown when a thread attempts to access an object that is affined to another thread.
Implements
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public sealed class ThreadMismatchException : ThreadingException, ISerializable
Constructors
Name | Description |
---|---|
ThreadMismatchException() | Initializes a new ThreadMismatchException. |
ThreadMismatchException(string) | Initializes a new ThreadMismatchException and sets the error message. |
ThreadMismatchException(string, Exception) | Initializes a new ThreadMismatchException and sets the error message and the inner exception. |