Jaa


NotAuthorizedException Constructor (String)

Initializes a new instance of the NotAuthorizedException class with the specified error message.

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

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New NotAuthorizedException(message)
public NotAuthorizedException(
    string message
)
public:
NotAuthorizedException(
    String^ message
)
public function NotAuthorizedException(
    message : String
)

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the exception.

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.

Permissions

See Also

Reference

NotAuthorizedException Class

NotAuthorizedException Members

NotAuthorizedException Overload

Microsoft.CommerceServer Namespace