Udostępnij za pośrednictwem


ServiceClient.ExecuteAsync Method

Definition

Overloads

ExecuteAsync(OrganizationRequest)

Perform an action in an organization specified by the request.

ExecuteAsync(OrganizationRequest, CancellationToken)

Perform an action in an organization specified by the request.

ExecuteAsync(OrganizationRequest)

Perform an action in an organization specified by the request.

public System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.OrganizationResponse> ExecuteAsync (Microsoft.Xrm.Sdk.OrganizationRequest request);
abstract member ExecuteAsync : Microsoft.Xrm.Sdk.OrganizationRequest -> System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.OrganizationResponse>
override this.ExecuteAsync : Microsoft.Xrm.Sdk.OrganizationRequest -> System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.OrganizationResponse>
Public Function ExecuteAsync (request As OrganizationRequest) As Task(Of OrganizationResponse)

Parameters

request
OrganizationRequest

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

Returns

Results from processing the request

Implements

Applies to

ExecuteAsync(OrganizationRequest, CancellationToken)

Perform an action in an organization specified by the request.

public System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.OrganizationResponse> ExecuteAsync (Microsoft.Xrm.Sdk.OrganizationRequest request, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteAsync : Microsoft.Xrm.Sdk.OrganizationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Xrm.Sdk.OrganizationResponse>
override this.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 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

Implements

Applies to