Container.CreateTransactionalBatch(PartitionKey) Method
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.
Initializes a new instance of TransactionalBatch that can be used to perform operations across multiple items in the container with the provided partition key in a transactional manner.
public abstract Microsoft.Azure.Cosmos.TransactionalBatch CreateTransactionalBatch(Microsoft.Azure.Cosmos.PartitionKey partitionKey);
abstract member CreateTransactionalBatch : Microsoft.Azure.Cosmos.PartitionKey -> Microsoft.Azure.Cosmos.TransactionalBatch
Public MustOverride Function CreateTransactionalBatch (partitionKey As PartitionKey) As TransactionalBatch
- partitionKey
- PartitionKey
The partition key for all items in the batch.
A new instance of TransactionalBatch.
Limits on TransactionalBatch requests
Product | Versions |
---|---|
Azure SDK for .NET | Latest |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: