你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MobileServiceLocalStore.DeleteAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DeleteAsync(MobileServiceTableQueryDescription) |
从本地表中删除与查询匹配的所有项。 |
DeleteAsync(String, IEnumerable<String>) |
从具有给定 ID 列表的本地表中删除项 |
DeleteAsync(MobileServiceTableQueryDescription)
从本地表中删除与查询匹配的所有项。
public abstract System.Threading.Tasks.Task DeleteAsync (Microsoft.WindowsAzure.MobileServices.Query.MobileServiceTableQueryDescription query);
abstract member DeleteAsync : Microsoft.WindowsAzure.MobileServices.Query.MobileServiceTableQueryDescription -> System.Threading.Tasks.Task
Public MustOverride Function DeleteAsync (query As MobileServiceTableQueryDescription) As Task
参数
返回
在本地表上执行删除时完成的任务。
实现
适用于
DeleteAsync(String, IEnumerable<String>)
从具有给定 ID 列表的本地表中删除项
public abstract System.Threading.Tasks.Task DeleteAsync (string tableName, System.Collections.Generic.IEnumerable<string> ids);
abstract member DeleteAsync : string * seq<string> -> System.Threading.Tasks.Task
Public MustOverride Function DeleteAsync (tableName As String, ids As IEnumerable(Of String)) As Task
参数
- tableName
- String
本地表的名称。
- ids
- IEnumerable<String>
要删除的项的 ID 列表
返回
执行删除查询时完成的任务。