WebApiClient T  DeleteAsync Method (Object, String, String, CancellationToken)The WebApiClient Documentation
Calls the Web Api to delete the object of type T

Namespace: WebApiRestService
Assembly: WebApiClient (in WebApiClient.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
protected virtual Task DeleteAsync(
	Object param,
	string controller,
	string action,
	CancellationToken token
)

Parameters

param
Type: System Object
Can be a simple type like int, string, etc or an anonymous type defining many properties
controller
Type: System String
The controller that will be called
action
Type: System String
Explicit define the action that will be called
token
Type: System.Threading CancellationToken
The CancellationToken to be used to cancel the call

Return Value

Type: Task
Exceptions
ExceptionCondition
WebApiClientException
ArgumentNullException
Remarks
Requests are sent using HttpVerb DELETE
See Also