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

ThreadAccessException Constructor (String)

Initializes a new instance of the ThreadAccessException class with a given error message.

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

Parameters

message
Type: System.String
The error message.
See Also