1. ScriptException

Class ScriptException

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

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

The serialization info.

StreamingContextstreamingContext

The streaming context.

ScriptException(string, Exception)

Initializes a new instance of the ScriptException class.

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

The message.

Exceptionexception

The exception.

ScriptException(string)

Initializes a new instance of the ScriptException class.

Declaration
public ScriptException(string message)
Parameters
TypeNameDescription
stringmessage

The message.

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