ServiceClient.DeleteAsync 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
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.