Class CRMScriptErrorInfo
Object containing error information for a CRMScript
Carrier object for CRMScriptErrorInfo. Services for the CRMScriptErrorInfo Carrier is available from the ICRMScriptAgent.Syntax
public class CRMScriptErrorInfo : Carrier
Constructors
CRMScriptErrorInfo()
Default constructor
Declaration
public CRMScriptErrorInfo()
See Also
Properties
CharacterPosition
The character position on the ErrorLine, if available
Declaration
public virtual int CharacterPosition { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
ErrorMessage
Descriptive message of the script failed
Declaration
public virtual string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
IncludeId
The includeId of the source where the error occured
Declaration
public virtual string IncludeId { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
LineNumber
The line number where the error occured
Declaration
public virtual int LineNumber { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
See Also
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |