1. ForbiddenException

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

The serialization info.

StreamingContextstreamingContext

The streaming context.

ForbiddenException(string, Exception)

Initializes a new instance of the ForbiddenException class.

Declaration
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
public ForbiddenException(string message)
Parameters
TypeNameDescription
stringmessage

The message.

If you have suggestions for improving this article, let us know!