ServiceClient.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.