PostSharp 4.3 / / Post­Sharp Documentation / 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: 4.3.48.0 (4.3.48.0)
Syntax
C#
public ThreadMismatchException(
	string message,
	Exception inner
)

Parameters

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