共用方式為


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.Azure.Mobile.Server.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