CatalogAuthorizationException Constructor (String, String, String, String)
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Creates a new instance of the CatalogAuthorizationException class with the specified message and parameters.
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 _
)
'Usage
Dim message As String
Dim operation As String
Dim scope As String
Dim userName As String
Dim instance As New CatalogAuthorizationException(message, _
operation, scope, userName)
public CatalogAuthorizationException(
string message,
string operation,
string scope,
string userName
)
public:
CatalogAuthorizationException(
String^ message,
String^ operation,
String^ scope,
String^ userName
)
public function CatalogAuthorizationException(
message : String,
operation : String,
scope : String,
userName : String
)
Parameters
- message
Type: System..::.String
The message string containing the specified message.
- operation
Type: System..::.String
The operation denied.
- scope
Type: System..::.String
The scope where the operation was denied.
- userName
Type: System..::.String
The user name denied authorization.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CatalogAuthorizationException Class
CatalogAuthorizationException Members