Share via


NotAuthorizedException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the NotAuthorizedException class with the specified serialization and streaming context information.

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

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New NotAuthorizedException(info, context)
protected NotAuthorizedException(
    SerializationInfo info,
    StreamingContext context
)
protected:
NotAuthorizedException(
    SerializationInfo^ info, 
    StreamingContext context
)
protected function NotAuthorizedException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

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