Open sandboxFocus

Constructor ThreadAccessException

ThreadAccessException()

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

Declaration
public ThreadAccessException()

ThreadAccessException(string)

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

Declaration
public ThreadAccessException(string message)
Parameters
Type Name Description
string message

The error message.

ThreadAccessException(string, Exception)

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

Declaration
public ThreadAccessException(string message, Exception inner)
Parameters
Type Name Description
string message

The error message.

Exception inner

The Exception wrapped by the new ThreadAccessException.

ThreadAccessException(SerializationInfo, StreamingContext)

Deserialization constructor.

Declaration
protected ThreadAccessException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context