Поделиться через


AsyncOperation (system job) entity messages and methods

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

An asynchronous operation (system job) represents a process whose execution can continue independently or in the background. The schema name for this entity is AsyncOperation. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download.

The following table describes the messages for this entity, which you use with theIOrganizationService.Execute method.

Message

Description

CreateRequest

For internal use only.

DeleteRequest

Deletes an asynchronous operation (system job). The asynchronous operation can be deleted only if the AsyncOperation.AsyncOperationState is completed. You can also call the IOrganizationService.Delete method.

RetrieveRequest

Retrieve an asynchronous operation (system job). You can also call the IOrganizationService.Retrieve method.

RetrieveMultipleRequest

Retrieves a collection of asynchronous operations (system jobs). You can also call the IOrganizationService.RetrieveMultiple method.

RetrievePrincipalAccessRequest

Retrieves the access that the security principal (user) has for an asynchronous operation (system job).

UpdateRequest

Updates an asynchronous operation (system job). Typically, you would update only the AsyncOperation.StateCode or AsyncOperation.PostponeUntil attributes of the asynchronous operation (system job). You can also call the IOrganizationService.Update method.

See Also

Asynchronous service in Microsoft Dynamics 365
AsyncOperation (system job) entity
Asynchronous operation states
Privileges by entity

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright