Class CommandScriptException
The SessionException to report problems when evaluating a security script.
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Clients.SecurityControl
Assembly: Diffusion.Client.dll
Syntax
public class CommandScriptException : SessionException, ISerializable
Constructors
CommandScriptException(String, IReadOnlyCollection<IErrorReport>)
Initializes a new CommandScriptException instance.
Declaration
public CommandScriptException(string message, IReadOnlyCollection<IErrorReport> reports)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message. |
System.Collections.Generic.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 |
---|---|---|
System.String | message | The error message. |
System.Collections.Generic.IReadOnlyCollection<IErrorReport> | reports | The list of error reports. |
System.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 |
---|---|
System.Collections.Generic.IReadOnlyCollection<IErrorReport> | The read-only collection of error reports. |
Implements
System.Runtime.Serialization.ISerializable