Class CommandScriptException
- Assembly
- Diffusion.Client.dll
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
messagestringThe error message.
reportsIReadOnlyCollection<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
messagestringThe error message.
reportsIReadOnlyCollection<IErrorReport>The list of error reports.
innerExceptionExceptionThe 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.