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

System.Object
System.Exception
PostSharp.Patterns.Threading.ThreadingException
PostSharp.Patterns.Threading.ThreadMismatchException
System.Exception
PostSharp.Patterns.Threading.ThreadingException
PostSharp.Patterns.Threading.ThreadMismatchException
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 5.0.55.0 (5.0.55.0)

C#
[SerializableAttribute] public sealed class ThreadMismatchException : ThreadingException
The ThreadMismatchException type exposes the following members.

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.
|

Name | Description | |
---|---|---|
![]() | QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |
