IOrganizationServiceAsync2.DeleteAsync Method

Definition

Delete instance of an entity.

[System.ServiceModel.OperationContract]
public System.Threading.Tasks.Task DeleteAsync (string entityName, Guid id, System.Threading.CancellationToken cancellationToken);
[<System.ServiceModel.OperationContract>]
abstract member DeleteAsync : string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteAsync (entityName As String, id As Guid, cancellationToken As CancellationToken) As Task

Parameters

entityName
String

Logical name of the entity.

id
Guid

Id of the entity.

cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Returns

Attributes

Applies to