PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Thread­Mismatch­Exception Class / Thread­Mismatch­Exception Constructor / Thread­Mismatch­Exception Constructor (String)

ThreadMismatchException Constructor (String)

Initializes a new ThreadMismatchException and sets the error message.

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public ThreadMismatchException(
	string message
)

Parameters

message
Type: System.String
Error message.
See Also