PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingThread­Mismatch­Exception
Open sandboxFocus

ThreadMismatchException Class

Exception thrown when a thread attempts to access an object that is affined to another thread.

Inheritance
ThreadMismatchException
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public sealed class ThreadMismatchException : ThreadingException

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.