Jaa


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
ms989418.pubmethod(en-US,CS.70).gif NotAuthorizedException()()() Initializes a new instance of the NotAuthorizedException class.
ms989418.pubmethod(en-US,CS.70).gif NotAuthorizedException(String) Initializes a new instance of the NotAuthorizedException class with the specified error message.
ms989418.protmethod(en-US,CS.70).gif NotAuthorizedException(SerializationInfo, StreamingContext) Initializes a new instance of the NotAuthorizedException class with the specified serialization and streaming context information.
ms989418.pubmethod(en-US,CS.70).gif 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.
ms989418.pubmethod(en-US,CS.70).gif 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.
ms989418.pubmethod(en-US,CS.70).gif 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.

See Also

Reference

NotAuthorizedException Class

NotAuthorizedException Members

Microsoft.CommerceServer Namespace