NotAuthorizedException Constructor
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the NotAuthorizedException class.
Overload List
Name | Description | |
---|---|---|
NotAuthorizedException()()() | Initializes a new instance of the NotAuthorizedException class. | |
NotAuthorizedException(String) | Initializes a new instance of the NotAuthorizedException class with the specified error message. | |
NotAuthorizedException(SerializationInfo, StreamingContext) | Initializes a new instance of the NotAuthorizedException class with the specified serialization and streaming context information. | |
NotAuthorizedException(String, Exception) | Initializes a new instance of the NotAuthorizedException class with a specified error message and inner exception that is the cause of this exception. | |
NotAuthorizedException(String, String, Int32, String) | Initializes a new instance of the NotAuthorizedException class with the specified error message and parameters describing the operation which was not authorized. | |
NotAuthorizedException(String, String, Int32, String, Exception) | Initializes a new instance of the NotAuthorizedException class with a specified error message properties describing the operation which was not authorized and a reference to the inner exception that is the cause of this exception. |
Top
Remarks
The exception that is thrown when an operation is attempted by a user that is not authorized to perform that operation, based on the currently configured authorization policy.