Google.Cloud.Spanner.Data - Class SpannerBatchNonQueryException (5.0.0-beta04)

public class SpannerBatchNonQueryException : SpannerException, ISerializable

Reference documentation and code samples for the Google.Cloud.Spanner.Data class SpannerBatchNonQueryException.

Represents an error communicating with the Spanner database when executing batch non query operations.

Inheritance

object > Exception > SpannerException > SpannerBatchNonQueryException

Implements

ISerializable

Namespace

Google.Cloud.Spanner.Data

Assembly

Google.Cloud.Spanner.Data.dll

Remarks

In Spanner batched commands are executed sequentially in the order they are received. If one command fails then the following commands won't be executed. This exception contains the error code and error message corresponding to the command that failed. It also contains the number of rows modified by each of the commands that executed successfully.

Properties

SuccessfulCommandResults

public IEnumerable<long> SuccessfulCommandResults { get; }

Returns the affected rows for each of the batch commands that executed succesfully.

Property Value
Type Description
IEnumerablelong

Extension Method