Edit

Share via


CosmosConditionNotSatisfiedException Class

Definition

Exception thrown when a storage provider detects an Etag inconsistency when attempting to perform a WriteStateAsync operation.

[Orleans.GenerateSerializer]
[System.Serializable]
public class CosmosConditionNotSatisfiedException : Orleans.Storage.InconsistentStateException
[<Orleans.GenerateSerializer>]
[<System.Serializable>]
type CosmosConditionNotSatisfiedException = class
    inherit InconsistentStateException
Public Class CosmosConditionNotSatisfiedException
Inherits InconsistentStateException
Inheritance
CosmosConditionNotSatisfiedException
Attributes

Constructors

CosmosConditionNotSatisfiedException()

Exception thrown when a Cosmos DB exception is thrown due to update conditions not being satisfied.

CosmosConditionNotSatisfiedException(SerializationInfo, StreamingContext)
Obsolete.

Exception thrown when a Cosmos DB exception is thrown due to update conditions not being satisfied.

CosmosConditionNotSatisfiedException(String, Exception)

Exception thrown when a Cosmos DB exception is thrown due to update conditions not being satisfied.

CosmosConditionNotSatisfiedException(String, GrainId, String, String, String)

Exception thrown when a Cosmos DB exception is thrown due to update conditions not being satisfied.

CosmosConditionNotSatisfiedException(String, String, GrainId, String, String, String)

Exception thrown when a Cosmos DB exception is thrown due to update conditions not being satisfied.

CosmosConditionNotSatisfiedException(String)

Exception thrown when a Cosmos DB exception is thrown due to update conditions not being satisfied.

Properties

Collection

Gets the collection name

CurrentEtag

Gets the Etag value currently help in memory, and attempting to be updated.

(Inherited from InconsistentStateException)
GrainId

Gets the id of the affected grain.

GrainType

Gets the grain type of the affected grain.

StoredEtag

Gets the Etag value currently held in persistent storage.

(Inherited from InconsistentStateException)

Methods

GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

When overridden in a derived class, sets the SerializationInfo with information about the exception.

ToString() (Inherited from InconsistentStateException)

Applies to