你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TableBatchOperation 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示对表执行的批处理操作。
public sealed class TableBatchOperation : System.Collections.Generic.ICollection<Microsoft.Azure.Cosmos.Table.TableOperation>, System.Collections.Generic.IEnumerable<Microsoft.Azure.Cosmos.Table.TableOperation>, System.Collections.Generic.IList<Microsoft.Azure.Cosmos.Table.TableOperation>
type TableBatchOperation = class
interface IList<TableOperation>
interface ICollection<TableOperation>
interface seq<TableOperation>
interface IEnumerable
Public NotInheritable Class TableBatchOperation
Implements ICollection(Of TableOperation), IEnumerable(Of TableOperation), IList(Of TableOperation)
- 继承
-
TableBatchOperation
- 实现
注解
批处理操作是表操作的集合,存储服务 REST API 通过调用 实体组事务作为单个原子操作执行这些操作。
一个批处理操作最多可以包含 100 个不同的表操作,但要求是每个操作实体必须具有相同的分区键。 包含检索操作的批处理不能包含任何其他操作。 请注意,批处理操作的总负载限制为 4MB。
构造函数
TableBatchOperation() |
初始化 TableBatchOperation 类的新实例。 |
属性
Count |
获取此 TableBatchOperation 中的操作数。 |
IsReadOnly |
获取一个值,该值指示 TableBatchOperation 是否为只读。 |
Item[Int32] |
获取或设置位于指定索引处的 TableOperation 项。 |
方法
显式接口实现
IEnumerable.GetEnumerator() |
返回 IEnumerator。 |
扩展方法
ToCommaSeparatedString<T>(IEnumerable<T>) |
将集合的元素转换为字符串,并将它们连接成逗号分隔的列表,或返回 null 或空集合的 null。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈