Class ForbiddenException

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

Inheritance
object
ForbiddenException
Namespace: StylelabsStylelabs.MSdkExceptions
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class ForbiddenException : PermissionException

Constructors

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
TypeNameDescription
SerializationInfoserializationInfo

The serialization info.

StreamingContextstreamingContext

The streaming context.

ForbiddenException(string, Exception)

Initializes a new instance of the ForbiddenException class.

Declaration
RequestResponse
public ForbiddenException(string message, Exception exception)
Parameters
TypeNameDescription
stringmessage

The message.

Exceptionexception

The exception.

ForbiddenException(string)

Initializes a new instance of the ForbiddenException class.

Declaration
RequestResponse
public ForbiddenException(string message)
Parameters
TypeNameDescription
stringmessage

The message.

Do you have some feedback for us?

If you have suggestions for improving this article,