Show / Hide Table of Contents

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
ICRMScriptAgent

Properties

AssociateId

Associate who the script was executed as

Declaration
[DataMember]
public virtual int AssociateId { get; set; }
Property Value
Type Description
int
See Also
ICRMScriptAgent

EndedAt

When the trace was ended

Declaration
[DataMember]
public virtual DateTime EndedAt { get; set; }
Property Value
Type Description
DateTime
See Also
ICRMScriptAgent

ExecutionTime

Real seconds spent executing

Declaration
[DataMember]
public virtual int ExecutionTime { get; set; }
Property Value
Type Description
int
See Also
ICRMScriptAgent

FileSize

The size of the trace file

Declaration
[DataMember]
public virtual int FileSize { get; set; }
Property Value
Type Description
int
See Also
ICRMScriptAgent

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
ICRMScriptAgent

Frames

The frames of the the trace

Declaration
[DataMember]
public virtual string Frames { get; set; }
Property Value
Type Description
string
See Also
ICRMScriptAgent

NumFrames

The number of frames saved

Declaration
[DataMember]
public virtual int NumFrames { get; set; }
Property Value
Type Description
int
See Also
ICRMScriptAgent

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
ICRMScriptAgent

StartedAt

When the trace was started

Declaration
[DataMember]
public virtual DateTime StartedAt { get; set; }
Property Value
Type Description
DateTime
See Also
ICRMScriptAgent

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
ICRMScriptAgent

UserExecutionTime

CPU seconds spent executing

Declaration
[DataMember]
public virtual int UserExecutionTime { get; set; }
Property Value
Type Description
int
See Also
ICRMScriptAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
ICRMScriptAgent

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.

See Also
ICRMScriptAgent

See Also

ICRMScriptAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top