Share via


DomainManager<TData>.ReplaceAsync(String, TData) Method

Definition

Completely replaces an existing item.

public abstract System.Threading.Tasks.Task<TData> ReplaceAsync (string id, TData data);
abstract member ReplaceAsync : string * 'Data -> System.Threading.Tasks.Task<'Data (requires 'Data : null and 'Data :> Microsoft.WindowsAzure.Mobile.Service.Tables.ITableData)>
Public MustOverride Function ReplaceAsync (id As String, data As TData) As Task(Of TData)

Parameters

id
String

The id of the item to replace.

data
TData

The replacement

Returns

Task<TData>

The replaced item

Implements

Applies to