DynamicsAXClient.DeleteItemAsync 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.
Delete record
public virtual System.Threading.Tasks.Task DeleteItemAsync(string instance, string entityName, string objectId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteItemAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteItemAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DeleteItemAsync (instance As String, entityName As String, objectId As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- instance
- String
Instance
- entityName
- String
Entity name
- objectId
- String
Object id
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Remarks
Deletes a single record in an entity