AsyncOperationStatus Class (CrmHelpers)
![]() |
This class specifies the integer flags to set the asyncoperation.statuscode property. Although the property may accept any value, these are the valid values.
This class does not need instantiation or initialization because the fields represent constant integer values. These values are intended to be used when setting entity property values.
The AsyncOperationStatus class exposes the following members.
| Field | Value | Description |
| Canceled | 32 | Specifies that the asynchronous operation was canceled. |
| Canceling | 22 | Specifies that the asynchronous operation is being canceled. |
| Failed | 31 | Specifies that the asynchronous operation has failed. |
| InProgress | 20 | Specifies that the asynchronous operation is in progress. |
| Pausing | 21 | Specifies that the asynchronous operation is pausing. |
| Succeeded | 30 | Specifies that the asynchronous operation has succeeded. |
| Waiting | 10 | Specifies that the asynchronous operation is waiting. |
| WaitingForResources | 0 | Specifies that the asynchronous operation is waiting for resources. |
Remarks
This class is in the helper code file SDK\Helpers\CS\CrmHelpers\enums.cs. This class can also be found in the assembly Microsoft.Crm.Sdk.dll.
Requirements
Filename: enums.cs
See Also
Reference
© 2010 Microsoft Corporation. All rights reserved.

