PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Threading Namespace/Thread­Mismatch­Exception Class/Thread­Mismatch­Exception Constructor/Thread­Mismatch­Exception Constructor (String, Exception)

ThreadMismatchException Constructor (String, Exception)

Initializes a new ThreadMismatchException and sets the error message and the inner exception.

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public ThreadMismatchException(
	string message,
	Exception inner
)

Parameters

message
Type: System.String
Error message.
inner
Type: System.Exception
Inner exception.
See Also