Table of Contents

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

success bool
requestCharge double
operationResults IReadOnlyList<CloudOperationResult>
sessionToken string
errorMessage string

Properties

ErrorMessage

Gets the error message if the batch failed.

public string? ErrorMessage { get; }

Property Value

string

OperationResults

Gets the results for each operation in the batch.

public IReadOnlyList<CloudOperationResult> OperationResults { get; }

Property Value

IReadOnlyList<CloudOperationResult>

RequestCharge

Gets the total request charge for the batch.

public double RequestCharge { get; }

Property Value

double

SessionToken

Gets the session token for session consistency.

public string? SessionToken { get; }

Property Value

string

Success

Gets a value indicating whether all operations succeeded.

public bool Success { get; }

Property Value

bool