Class CloudBatchResult
- Namespace
- Excalibur.Data.CloudNative
- Assembly
- Excalibur.Data.Abstractions.dll
Represents the result of a batch operation.
public sealed class CloudBatchResult
- Inheritance
-
CloudBatchResult
- Inherited Members
Constructors
CloudBatchResult(bool, double, IReadOnlyList<CloudOperationResult>, string?, string?)
Initializes a new instance of the CloudBatchResult class.
public CloudBatchResult(bool success, double requestCharge, IReadOnlyList<CloudOperationResult> operationResults, string? sessionToken = null, string? errorMessage = null)
Parameters
successboolrequestChargedoubleoperationResultsIReadOnlyList<CloudOperationResult>sessionTokenstringerrorMessagestring
Properties
ErrorMessage
Gets the error message if the batch failed.
public string? ErrorMessage { get; }
Property Value
OperationResults
Gets the results for each operation in the batch.
public IReadOnlyList<CloudOperationResult> OperationResults { get; }
Property Value
RequestCharge
Gets the total request charge for the batch.
public double RequestCharge { get; }
Property Value
SessionToken
Gets the session token for session consistency.
public string? SessionToken { get; }
Property Value
Success
Gets a value indicating whether all operations succeeded.
public bool Success { get; }