Delen via


ServiceClient.DeleteAsync Method

Definition

Overloads

DeleteAsync(String, Guid)

Delete instance of an entity

DeleteAsync(String, Guid, CancellationToken)

Delete instance of an entity

DeleteAsync(String, Guid)

Delete instance of an entity

public System.Threading.Tasks.Task DeleteAsync (string entityName, Guid id);
abstract member DeleteAsync : string * Guid -> System.Threading.Tasks.Task
override this.DeleteAsync : string * Guid -> System.Threading.Tasks.Task
Public Function DeleteAsync (entityName As String, id As Guid) As Task

Parameters

entityName
String

Logical name of entity

id
Guid

Id of entity

Returns

Implements

Applies to

DeleteAsync(String, Guid, CancellationToken)

Delete instance of an entity

public System.Threading.Tasks.Task DeleteAsync (string entityName, Guid id, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.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 entity

id
Guid

Id of entity

cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Returns

Implements

Applies to