Table of Contents

Class CommandScriptException

The SessionException to report problems when evaluating a security script.

public class CommandScriptException : SessionException, ISerializable
Inheritance
CommandScriptException
Implements
Inherited Members

Constructors

CommandScriptException(string, IReadOnlyCollection<IErrorReport>)

Initializes a new CommandScriptException instance.

public CommandScriptException(string message, IReadOnlyCollection<IErrorReport> reports)

Parameters

message string

The error message.

reports IReadOnlyCollection<IErrorReport>

The list of error reports.

CommandScriptException(string, IReadOnlyCollection<IErrorReport>, Exception)

Initializes a new CommandScriptException instance.

public CommandScriptException(string message, IReadOnlyCollection<IErrorReport> reports, Exception innerException)

Parameters

message string

The error message.

reports IReadOnlyCollection<IErrorReport>

The list of error reports.

innerException Exception

The exception that is the cause of the current exception.

Properties

Reports

Gets the read-only collection of error reports.

public IReadOnlyCollection<IErrorReport> Reports { get; }

Property Value

IReadOnlyCollection<IErrorReport>

The read-only collection of error reports.