1. Stylelabs.M.Sdk.Exceptions

Class ForbiddenException

The exception that is thrown when doing an action that is forbidden.

Inheritance

object

SdkException

PermissionException

ForbiddenException

Namespace: StylelabsStylelabs.MSdkExceptions

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class ForbiddenException : PermissionException

Constructors

ForbiddenException()

Initializes a new instance of the ForbiddenException class.

Declaration

public ForbiddenException()

ForbiddenException(SerializationInfo, StreamingContext)

Initializes a new instance of the ForbiddenException class.

Declaration

protected ForbiddenException(SerializationInfo serializationInfo, StreamingContext streamingContext)

Parameters

TypeNameDescription
SerializationInfoserializationInfoThe serialization info.
StreamingContextstreamingContextThe streaming context.

ForbiddenException(string, Exception)

Initializes a new instance of the ForbiddenException class.

Declaration

public ForbiddenException(string message, Exception exception)

Parameters

TypeNameDescription
stringmessageThe message.
ExceptionexceptionThe exception.

ForbiddenException(string)

Initializes a new instance of the ForbiddenException class.

Declaration

public ForbiddenException(string message)

Parameters

TypeNameDescription
stringmessageThe message.
If you have suggestions for improving this article, let us know!