IOrganizationServiceAsync2.ExecuteAsync Method

Definition

Perform an action in an organization specified by the request.

[System.ServiceModel.OperationContract]
public System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.OrganizationResponse> ExecuteAsync (Microsoft.Xrm.Sdk.OrganizationRequest request, System.Threading.CancellationToken cancellationToken);
[<System.ServiceModel.OperationContract>]
abstract member ExecuteAsync : Microsoft.Xrm.Sdk.OrganizationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.OrganizationResponse>
Public Function ExecuteAsync (request As OrganizationRequest, cancellationToken As CancellationToken) As Task(Of OrganizationResponse)

Parameters

request
OrganizationRequest

Refer to the SDK documentation for list of messages that can be used.

cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Returns

Results from processing the request

Attributes

Applies to