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
RequestResponse
public class ScriptException : SdkException

Constructors

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

The serialization info.

StreamingContextstreamingContext

The streaming context.

ScriptException(string, Exception)

Initializes a new instance of the ScriptException class.

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

The message.

Do you have some feedback for us?

If you have suggestions for improving this article,