Bagikan melalui


NotAuthorizedException Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

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.

Namespace:  Microsoft.CommerceServer
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class NotAuthorizedException _
    Inherits Exception _
    Implements ISerializable
'Usage
Dim instance As NotAuthorizedException
[SerializableAttribute]
public class NotAuthorizedException : Exception, ISerializable
[SerializableAttribute]
public ref class NotAuthorizedException : public Exception, 
    ISerializable
public class NotAuthorizedException extends Exception implements ISerializable

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer..::.NotAuthorizedException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

NotAuthorizedException Members

Microsoft.CommerceServer Namespace