asyncoperation Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Represents a process whose execution can proceed independently or in the background.

For a list of methods and messages that operate on this class, see System Job (asyncoperation) Entity Capabilities.

The asyncoperation class inherits from BusinessEntity. It exposes the following members.

Constructor Description
asyncoperation Initializes a new instance of the asyncoperation class.
Instance Property Description
asyncoperationid Gets or sets the ID of the system job.
completedon Gets the date and time when the system job was completed.
correlationid Gets or sets the ID used to correlate between multiple SDK requests and system jobs.
correlationupdatedtime Gets or sets the last time the correlation depth was updated.
createdby Gets the ID of the user who created the system job.
createdon Gets the date and time when the system job was created.
createdonbehalfby Gets the ID of the proxy user who created the system job record.
data Gets or sets the unstructured data associated with the system job.
dependencytoken Gets or sets the execution of all operations with the same dependency token is serialized.
depth Gets or sets the number of SDK calls made since the first call.
errorcode Gets or sets the error code returned from a canceled system job.
hostid Gets or sets the ID of the host that owns this system job.
iswaitingforevent Gets the value that indicates whether the system job is waiting for an event.
message Gets or sets the message related to the system job.
messagename Gets or sets the name of the message that started this system job.
modifiedby Gets the ID of the user who last modified the system job.
modifiedon Gets the date and time when the system job was last modified.
modifiedonbehalfby Gets the ID of the proxy user who last modified the system job.
name Gets or sets the name of the system job.
operationtype Gets or sets the type of the system job.
ownerid Gets or sets the ID of the user or team that owns the system job.
owningbusinessunit Gets the ID of the business unit that owns the system job.
postponeuntil Gets or sets the value that indicates whether the system job should run only after the specified date and time.
primaryentitytype Gets or sets the type of entity with which the system job is primarily associated.
recurrencepattern Gets or sets the pattern of the system job's recurrence.
recurrencestarttime Gets or sets the starting time in UTC for the recurrence pattern.
regardingobjectid Gets or sets the ID of the object with which the system job is associated.
requestid Gets or sets the ID of the request that generated the system job.
retrycount Gets or sets the number of times to retry the system job.
startedon Gets the order in which operations were submitted.
statecode Gets or sets the date and time when the system job was started.
statuscode Gets or sets the status of the system job.
timezoneruleversionnumber For internal use only.
utcconversiontimezonecode Gets or sets the time zone code that was in use when the record was created.
workflowactivationid Gets or sets the ID of the workflow activation related to the system job.
workflowstagename Gets the name of a workflow stage.

Remarks

For more information about entities and attributes, see Using the Metadata Browser and the Customization area of the Web application. To view this information in the Customization area, in the Navigation Pane, click Settings, click Customization, and click Customize Entities and then choose All Entities from the view drop-down list.

This entity is not customizable.

Requirements

Web Service: CrmService

See Also

Conceptual

Reference

© 2010 Microsoft Corporation. All rights reserved.