Class CRMScriptTraceRun
Object for returning Trace run result from a CRMScript
Carrier object for CRMScriptTraceRun. Services for the CRMScriptTraceRun Carrier is available from the ICRMScriptAgent.Syntax
public class CRMScriptTraceRun : Carrier
Constructors
CRMScriptTraceRun()
Default constructor
Declaration
public CRMScriptTraceRun()
See Also
Properties
AssociateId
Associate who the script was executed as
Declaration
public virtual int AssociateId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
EndedAt
When the trace was ended
Declaration
public virtual DateTime EndedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
See Also
ExecutionTime
Real seconds spent executing
Declaration
public virtual int ExecutionTime { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
FileSize
The size of the trace file
Declaration
public virtual int FileSize { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
ForceSaveTrace
This trace should be saved even if script_trace.exception_only is true.
Declaration
public virtual bool ForceSaveTrace { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
See Also
Frames
The frames of the the trace
Declaration
public virtual string Frames { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
NumFrames
The number of frames saved
Declaration
public virtual int NumFrames { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
PeakMemory
The maximum amount of used memory during execution (in kB)
Declaration
public virtual int PeakMemory { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
StartedAt
When the trace was started
Declaration
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
public virtual string Status { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
UserExecutionTime
CPU seconds spent executing
Declaration
public virtual int UserExecutionTime { 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. |