Class CommandScriptException
The SessionException to report problems when evaluating a security script.
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Clients.SecurityControl
Assembly: Diffusion.Client.dll
Syntax
public class CommandScriptException : SessionException
Constructors
CommandScriptException(String, IReadOnlyCollection<IErrorReport>)
Initializes a new CommandScriptException instance.
Declaration
public CommandScriptException(string message, IReadOnlyCollection<IErrorReport> reports)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
IReadOnlyCollection<IErrorReport> | reports | The list of error reports. |
CommandScriptException(String, IReadOnlyCollection<IErrorReport>, Exception)
Initializes a new CommandScriptException instance.
Declaration
public CommandScriptException(string message, IReadOnlyCollection<IErrorReport> reports, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
IReadOnlyCollection<IErrorReport> | reports | The list of error reports. |
Exception | innerException | The exception that is the cause of the current exception. |
Properties
Reports
Gets the read-only collection of error reports.
Declaration
public IReadOnlyCollection<IErrorReport> Reports { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<IErrorReport> | The read-only collection of error reports. |