AsyncEntitySetController<TEntity, TKey>.Delete Method (TKey)
This method should be overridden to handles DELETE requests for deleting existing entities from the entity set.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public virtual Task Delete(
TKey key
)
public:
virtual Task^ Delete(
TKey key
)
abstract Delete :
key:'TKey -> Task
override Delete :
key:'TKey -> Task
Public Overridable Function Delete (
key As TKey
) As Task
Parameters
key
Type: TKeyThe entity key of the entity to delete.
Return Value
Type: System.Threading.Tasks.Task
A Task that completes when the entity has been successfully deleted.
See Also
AsyncEntitySetController<TEntity, TKey> Class
System.Web.Http.OData Namespace
Return to top