Show / Hide Table of Contents

Class BatchTaskInfo

BatchTaskInfo contains information about one batch task.

Carrier object for BatchTaskInfo. Services for the BatchTaskInfo Carrier is available from the Batch Agent.
Inheritance
object
BatchTaskInfo
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class BatchTaskInfo : Carrier

Constructors

BatchTaskInfo()

Default constructor

Declaration
public BatchTaskInfo()
See Also
IBatchAgent

Properties

AssociateId

Task owner. If it is a System task, AssociateId = 0.

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

CancellationBehaviour

Indicate if the task can be stopped.

Declaration
[DataMember]
public virtual BatchTaskCancellationBehaviour CancellationBehaviour { get; set; }
Property Value
Type Description
BatchTaskCancellationBehaviour
See Also
IBatchAgent

Context

Context for the executing task.

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

Created

Task creation time.

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

DatabaseSerialNumber

Serial number of the database the task is to run on.

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

Description

Description of the task.

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

DetailsRecord

Record Id of a row in the DetailsTable containing more info about the task.

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

DetailsTable

Id of table with more information about the task.

Declaration
[DataMember]
public virtual short DetailsTable { get; set; }
Property Value
Type Description
short
See Also
IBatchAgent

FileName

The filename related to the batchtask.

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

Id

Id of the task.

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

IsInternalTask

If IsInternalTask is true, this task will not add a trace to the database.

Declaration
[DataMember]
public virtual bool IsInternalTask { get; set; }
Property Value
Type Description
bool
See Also
IBatchAgent

IsSystemTask

If IsSystemTask is true, the task is not initiated by an associate.

Declaration
[DataMember]
public virtual bool IsSystemTask { get; set; }
Property Value
Type Description
bool
See Also
IBatchAgent

LastStarted

When was the task last started.

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

Name

Name of the task.

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

ParameterObject

ParameterObject will be serialized to a binary blob and saved in the BinaryObject table. The link to the BinaryObject will be set using DetailsTable and DetailsRecord.

Declaration
[DataMember]
public virtual StringDictionary ParameterObject { get; set; }
Property Value
Type Description
StringDictionary
See Also
IBatchAgent

ProgressDescription

Descriptive text for the current stage

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

ProgressPercent

Task progress, in percent of estimated total

Declaration
[DataMember]
public virtual short ProgressPercent { get; set; }
Property Value
Type Description
short
See Also
IBatchAgent

Request

Maps to the request field in the batchtask table.

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

Response

Maps to the response field in the batchtask table.

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

Result

Maps to the result field in the batchtask table.

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

StartCount

Maps to the startcount field in the batchtask table.

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

State

BatchTaskState of the task.

Declaration
[DataMember]
public virtual BatchTaskState State { get; set; }
Property Value
Type Description
BatchTaskState
See Also
IBatchAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IBatchAgent

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
IBatchAgent

See Also

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