Class ForbiddenException
Version: 3.2
The exception that is thrown when doing an action that is forbidden.
Namespace: StylelabsStylelabs.MSdkExceptions
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class ForbiddenException : PermissionExceptionConstructors
ForbiddenException()
Initializes a new instance of the ForbiddenException class.
Declaration
RequestResponse
public ForbiddenException()ForbiddenException(SerializationInfo, StreamingContext)
Initializes a new instance of the ForbiddenException class.
Declaration
RequestResponse
protected ForbiddenException(SerializationInfo serializationInfo, StreamingContext streamingContext)Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | serializationInfo |
The serialization info. |
| StreamingContext | streamingContext |
The streaming context. |
ForbiddenException(string, Exception)
Initializes a new instance of the ForbiddenException class.
Declaration
RequestResponse
public ForbiddenException(string message, Exception exception)Parameters
| Type | Name | Description |
|---|---|---|
| string | message |
The message. |
| Exception | exception |
The exception. |
ForbiddenException(string)
Initializes a new instance of the ForbiddenException class.
Declaration
RequestResponse
public ForbiddenException(string message)Parameters
| Type | Name | Description |
|---|---|---|
| string | message |
The message. |