AsyncOperationState Enumeration (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

The AsyncOperationState enumeration type specifies the possible states for an asynchronous operation (system job).

Syntax

[Visual Basic .NET]
Public Enum AsyncOperationState

[C#]
public enum AsyncOperationState

Members

Name Value Description Status Reason Status Code Value
Completed 3 Indicates that the asynchronous operation has executed to completion. Succeeded

Failed

Canceled

30

31

32

Locked 2 Indicates that an instance of the asynchronous service has locked the operation so that no other instance can access it. In Progress

Pausing

Canceling

20

21

22

Ready 0 Indicates that the asynchronous operation is ready to be executed. Waiting For Resources 0
Suspended 1 Indicates that the asynchronous operation is temporarily suspended. Waiting 10

Remarks

This enumeration is used for the following properties:

AsyncOperationStateInfo.Value

asyncoperation.statecode

The status reason values are used for the asyncoperation.statuscode property.

The values for asynchronous operation (system job) status reason are not customizable.

Requirements

Web Service: CrmService

See Also

Reference

© 2010 Microsoft Corporation. All rights reserved.