CatalogAuthorizationException Constructor (String, String, String, String, Exception)

Creates a new instance of the CatalogAuthorizationException class with the specified message, parameters and inner exception.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    operation As String, _
    scope As String, _
    userName As String, _
    inner As Exception _
)
'Usage
Dim message As String
Dim operation As String
Dim scope As String
Dim userName As String
Dim inner As Exception

Dim instance As New CatalogAuthorizationException(message, _
    operation, scope, userName, inner)
public CatalogAuthorizationException(
    string message,
    string operation,
    string scope,
    string userName,
    Exception inner
)
public:
CatalogAuthorizationException(
    String^ message, 
    String^ operation, 
    String^ scope, 
    String^ userName, 
    Exception^ inner
)
public function CatalogAuthorizationException(
    message : String, 
    operation : String, 
    scope : String, 
    userName : String, 
    inner : Exception
)

Parameters

  • message
    Type: System..::.String
    The message string containing the specified message.
  • inner
    Type: System..::.Exception
    The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Remarks

The exception that is thrown when catalog system authorization fails.

All catalog exceptions, including the CatalogAuthorizationException are derived from the CatalogException class. When an authorization attempt fails, this exception is thrown.

Permissions

See Also

Reference

CatalogAuthorizationException Class

CatalogAuthorizationException Members

CatalogAuthorizationException Overload

Microsoft.CommerceServer.Catalog Namespace