IOrganizationServiceAsync2.UpdateAsync(Entity, CancellationToken) 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.
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