Udostępnij za pośrednictwem


IOrganizationServiceAsync2.UpdateAsync(Entity, CancellationToken) Method

Definition

Updates an entity and process any related entities.

[System.ServiceModel.OperationContract]
public System.Threading.Tasks.Task UpdateAsync (Microsoft.Xrm.Sdk.Entity entity, System.Threading.CancellationToken cancellationToken);
[<System.ServiceModel.OperationContract>]
abstract member UpdateAsync : Microsoft.Xrm.Sdk.Entity * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function UpdateAsync (entity As Entity, cancellationToken As CancellationToken) As Task

Parameters

entity
Entity

The entity to update.

cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Returns

Attributes

Applies to