Show / Hide Table of Contents

Class Batch

BatchTasks run in the background.

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

Get Batch 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new BatchAgent();
   var batch = agent.GetBatch( 123 );
}

Find all Batch, get related items using archive agent.

var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("BatchTasks", "...", null, "getAllRows eq 1", null, 0, 100 );

Constructors

Batch()

Default constructor

Declaration
public Batch()
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