Partilhar via


ServiceClient.UpdateAsync Method

Definition

Overloads

UpdateAsync(Entity)

Updates an entity and process any related entities

UpdateAsync(Entity, CancellationToken)

Updates an entity and process any related entities

UpdateAsync(Entity)

Updates an entity and process any related entities

public System.Threading.Tasks.Task UpdateAsync (Microsoft.Xrm.Sdk.Entity entity);
abstract member UpdateAsync : Microsoft.Xrm.Sdk.Entity -> System.Threading.Tasks.Task
override this.UpdateAsync : Microsoft.Xrm.Sdk.Entity -> System.Threading.Tasks.Task
Public Function UpdateAsync (entity As Entity) As Task

Parameters

entity
Entity

entity to update

Returns

Implements

Applies to

UpdateAsync(Entity, CancellationToken)

Updates an entity and process any related entities

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

entity to update

cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Returns

Implements

Applies to