Udostępnij za pośrednictwem


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

Definition

Completely replaces an existing item.

public 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 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

Applies to