你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IMobileServiceLocalStore.DeleteAsync 方法

定义

重载

DeleteAsync(MobileServiceTableQueryDescription)

从本地表中删除与查询匹配的所有项。

DeleteAsync(String, IEnumerable<String>)

从具有给定 ID 列表的本地表中删除项

DeleteAsync(MobileServiceTableQueryDescription)

从本地表中删除与查询匹配的所有项。

public System.Threading.Tasks.Task DeleteAsync (Microsoft.WindowsAzure.MobileServices.Query.MobileServiceTableQueryDescription query);
abstract member DeleteAsync : Microsoft.WindowsAzure.MobileServices.Query.MobileServiceTableQueryDescription -> System.Threading.Tasks.Task
Public Function DeleteAsync (query As MobileServiceTableQueryDescription) As Task

参数

返回

在本地表上执行删除时完成的任务。

适用于

DeleteAsync(String, IEnumerable<String>)

从具有给定 ID 列表的本地表中删除项

public System.Threading.Tasks.Task DeleteAsync (string tableName, System.Collections.Generic.IEnumerable<string> ids);
abstract member DeleteAsync : string * seq<string> -> System.Threading.Tasks.Task
Public Function DeleteAsync (tableName As String, ids As IEnumerable(Of String)) As Task

参数

tableName
String

本地表的名称。

ids
IEnumerable<String>

要删除的项的 ID 列表

返回

执行删除查询时完成的任务。

适用于