TransactionalBatchResponse Class
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.
Response of a TransactionalBatch request.
public class TransactionalBatchResponse : IDisposable, System.Collections.Generic.IEnumerable<Microsoft.Azure.Cosmos.TransactionalBatchOperationResult>, System.Collections.Generic.IReadOnlyCollection<Microsoft.Azure.Cosmos.TransactionalBatchOperationResult>, System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Cosmos.TransactionalBatchOperationResult>
type TransactionalBatchResponse = class
interface IReadOnlyList<TransactionalBatchOperationResult>
interface seq<TransactionalBatchOperationResult>
interface IEnumerable
interface IReadOnlyCollection<TransactionalBatchOperationResult>
interface IDisposable
Public Class TransactionalBatchResponse
Implements IDisposable, IEnumerable(Of TransactionalBatchOperationResult), IReadOnlyCollection(Of TransactionalBatchOperationResult), IReadOnlyList(Of TransactionalBatchOperationResult)
- Inheritance
-
TransactionalBatchResponse
- Implements
Constructors
TransactionalBatchResponse() |
Initializes a new instance of the TransactionalBatchResponse class. |
Properties
ActivityId |
Gets the ActivityId that identifies the server request made to execute the batch. |
Count |
Gets the number of operation results. |
Diagnostics |
Gets the cosmos diagnostic information for the current request to Azure Cosmos DB service |
ErrorMessage |
Gets the reason for failure of the batch request. |
Headers |
Gets the current HTTP headers. |
IsSuccessStatusCode |
Gets a value indicating whether the batch was processed. |
Item[Int32] |
Gets the result of the operation at the provided index in the batch. |
RequestCharge |
Gets the request charge for the batch request. |
RetryAfter |
Gets the amount of time to wait before retrying this or any other request within Cosmos container or collection due to throttling. |
StatusCode |
Gets the completion status code of the batch request. |
Methods
Dispose() |
Disposes the current TransactionalBatchResponse. |
Dispose(Boolean) |
Disposes the disposable members held by this class. |
GetEnumerator() |
Gets an enumerator over the operation results. |
GetOperationResultAtIndex<T>(Int32) |
Gets the result of the operation at the provided index in the batch - the returned result has a Resource of provided type. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() | Returns an enumerator that iterates through a collection. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기