The exception that is thrown when doing an action that is forbidden.
Inheritance
System.Object
ForbiddenException
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class ForbiddenException : PermissionException
ForbiddenException()
Declaration
public ForbiddenException()
ForbiddenException(SerializationInfo, StreamingContext)
Declaration
protected ForbiddenException(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
Type |
Name |
Description |
SerializationInfo |
serializationInfo |
|
StreamingContext |
streamingContext |
|
ForbiddenException(String)
Declaration
public ForbiddenException(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
ForbiddenException(String, Exception)
Declaration
public ForbiddenException(string message, Exception exception)
Parameters
Type |
Name |
Description |
System.String |
message |
|
Exception |
exception |
|