Class ScriptException
Version: 3.2
Exception related to an unsuccessful execution of Sitecore Content Hub scripts.
Namespace: StylelabsStylelabs.MSdkExceptions
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class ScriptException : SdkExceptionConstructors
ScriptException()
Initializes a new instance of the ScriptException class.
Declaration
RequestResponse
public ScriptException()ScriptException(SerializationInfo, StreamingContext)
Initializes a new instance of the ScriptException class.
Declaration
RequestResponse
protected ScriptException(SerializationInfo serializationInfo, StreamingContext streamingContext)Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | serializationInfo |
The serialization info. |
| StreamingContext | streamingContext |
The streaming context. |
ScriptException(string, Exception)
Initializes a new instance of the ScriptException class.
Declaration
RequestResponse
public ScriptException(string message, Exception exception)Parameters
| Type | Name | Description |
|---|---|---|
| string | message |
The message. |
| Exception | exception |
The exception. |
ScriptException(string)
Initializes a new instance of the ScriptException class.
Declaration
RequestResponse
public ScriptException(string message)Parameters
| Type | Name | Description |
|---|---|---|
| string | message |
The message. |