TableController<TData>::ReplaceAsync Method (String^, TData)

 

Provides a helper method for replacing an entity in a backend store. It deals with any model validation errors as well as exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.

Namespace:   Microsoft.WindowsAzure.Mobile.Service
Assembly:  Microsoft.WindowsAzure.Mobile.Service.Tables (in Microsoft.WindowsAzure.Mobile.Service.Tables.dll)

protected:
virtual Task<TData>^ ReplaceAsync(
	String^ id,
	TData item
)

Return Value

Type: System.Threading.Tasks::Task<TData>^

A Task<TResult> representing the replace operation executed by the the IDomainManager<TData>.

Return to top
Show: