DomainManager<TData>.ReplaceAsync(String, TData) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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