This documentation is archived and is not being maintained.

UnauthorizedAccessException Constructor

Initializes a new instance of the UnauthorizedAccessException class.

Name Description
UnauthorizedAccessException () Initializes a new instance of the UnauthorizedAccessException class.

Supported by the .NET Compact Framework.

UnauthorizedAccessException (String) Initializes a new instance of the UnauthorizedAccessException class with a specified error message.

Supported by the .NET Compact Framework.

UnauthorizedAccessException (SerializationInfo, StreamingContext) Initializes a new instance of the UnauthorizedAccessException class with serialized data.
UnauthorizedAccessException (String, Exception) Initializes a new instance of the UnauthorizedAccessException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Supported by the .NET Compact Framework.

Show: