Class CRMScriptTraceRun
Object for returning Trace run result from a CRMScript
Carrier object for CRMScriptTraceRun. Services for the CRMScriptTraceRun Carrier is available from the CRMScript Agent.Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.2.0.0")]
public class CRMScriptTraceRun : Carrier
Constructors
CRMScriptTraceRun()
Default constructor
Declaration
public CRMScriptTraceRun()
See Also
Properties
AssociateId
Associate who the script was executed as
Declaration
[DataMember]
public virtual int AssociateId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
EndedAt
When the trace was ended
Declaration
[DataMember]
public virtual DateTime EndedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
ExecutionTime
Real seconds spent executing
Declaration
[DataMember]
public virtual int ExecutionTime { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
FileSize
The size of the trace file
Declaration
[DataMember]
public virtual int FileSize { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
ForceSaveTrace
This trace should be saved even if script_trace.exception_only is true.
Declaration
[DataMember]
public virtual bool ForceSaveTrace { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
Frames
The frames of the the trace
Declaration
[DataMember]
public virtual string Frames { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
NumFrames
The number of frames saved
Declaration
[DataMember]
public virtual int NumFrames { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
PeakMemory
The maximum amount of used memory during execution (in kB)
Declaration
[DataMember]
public virtual int PeakMemory { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
StartedAt
When the trace was started
Declaration
[DataMember]
public virtual DateTime StartedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
Status
The status of the script, or exception if it fails
Declaration
[DataMember]
public virtual string Status { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
UserExecutionTime
CPU seconds spent executing
Declaration
[DataMember]
public virtual int UserExecutionTime { get; set; }
Property Value
Type | Description |
---|---|
int |
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. |