WebApiClient T  CreateAsync Method (T, CancellationToken)The WebApiClient Documentation
Send an object to the Web Api to be created

Namespace: WebApiRestService
Assembly: WebApiClient (in WebApiClient.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual Task<T> CreateAsync(
	T obj,
	CancellationToken token
)

Parameters

obj
Type: T
The object to be created
token
Type: System.Threading CancellationToken
The CancellationToken to be used to cancel the call

Return Value

Type: Task T 
A Task that will yield the created object of type T
Exceptions
ExceptionCondition
WebApiClientException
ArgumentNullException
Remarks
Requests are sent using HttpVerb POST
See Also