This documentation is archived and is not being maintained.

AsyncOperationState Enumeration (CrmService)

Forefront
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

NameValueDescriptionStatus ReasonStatus Code Value
Completed3Indicates that the asynchronous operation has executed to completion.Succeeded

Failed

Canceled

30

31

32

Locked2Indicates 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

Ready0Indicates that the asynchronous operation is ready to be executed.Waiting For Resources0
Suspended1Indicates that the asynchronous operation is temporarily suspended.Waiting10

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.


Show: