PostSharp4.3//API Reference/Post­Sharp.​Patterns.​Threading Namespace/Thread­Access­Exception Class/Thread­Access­Exception Constructor/Thread­Access­Exception Constructor (String, Exception)
ThreadAccessException Constructor (String, Exception)
Initializes a new instance of the ThreadAccessException class with a given error message and 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 ThreadAccessException(
	string message,
	Exception inner
)

Parameters

message
Type: System.String
The error message.
inner
Type: System.Exception
The Exception wrapped by the new ThreadAccessException.
See Also