Class CRMScriptRunResult
Object for returning result from a CRMScript
Carrier object for CRMScriptRunResult. Services for the CRMScriptRunResult Carrier is available from the CRMScript Agent.Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class CRMScriptRunResult : Carrier
Constructors
CRMScriptRunResult()
Default constructor
Declaration
public CRMScriptRunResult()
See Also
Properties
ErrorInformation
Contains error information if the execution failed
Declaration
[DataMember]
public virtual CRMScriptErrorInfo ErrorInformation { get; set; }
Property Value
| Type | Description |
|---|---|
| CRMScriptErrorInfo |
See Also
Eventdata
The EventData instance after script execution with output values
Declaration
[DataMember]
public virtual EventData Eventdata { get; set; }
Property Value
| Type | Description |
|---|---|
| EventData |
See Also
Headers
Optional result headers for context that supports it
Declaration
[DataMember]
public virtual StringDictionary Headers { get; set; }
Property Value
| Type | Description |
|---|---|
| StringDictionary |
See Also
Output
The output from the script, normally from a print or printLine statement
Declaration
[DataMember]
public virtual string Output { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Parameters
The parameters/variables that might have been modified by the script
Declaration
[DataMember]
public virtual StringDictionary Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| StringDictionary |
See Also
StatusCode
The status code which is available to be returned from Typescript scripts
Declaration
[DataMember]
public virtual int StatusCode { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
StatusMessage
An additional status message that can be sent along with the status code
Declaration
[DataMember]
public virtual string StatusMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Success
Indicates if the script was executed successfully, or if it failed. In case of failing, the error members will contain more information
Declaration
[DataMember]
public virtual bool Success { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
TraceRun
Contains the trace information from the script execution
Declaration
[DataMember]
public virtual CRMScriptTraceRun TraceRun { get; set; }
Property Value
| Type | Description |
|---|---|
| CRMScriptTraceRun |
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. |