1. Stylelabs.M.Sdk.Exceptions

Class ScriptException

Exception related to an unsuccessful execution of Sitecore Content Hub scripts.

Inheritance

object

SdkException

ScriptException

Namespace: StylelabsStylelabs.MSdkExceptions

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class ScriptException : SdkException

Constructors

ScriptException()

Initializes a new instance of the ScriptException class.

Declaration

public ScriptException()

ScriptException(SerializationInfo, StreamingContext)

Initializes a new instance of the ScriptException class.

Declaration

protected ScriptException(SerializationInfo serializationInfo, StreamingContext streamingContext)

Parameters

TypeNameDescription
SerializationInfoserializationInfoThe serialization info.
StreamingContextstreamingContextThe streaming context.

ScriptException(string, Exception)

Initializes a new instance of the ScriptException class.

Declaration

public ScriptException(string message, Exception exception)

Parameters

TypeNameDescription
stringmessageThe message.
ExceptionexceptionThe exception.

ScriptException(string)

Initializes a new instance of the ScriptException class.

Declaration

public ScriptException(string message)

Parameters

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