CosmosConditionNotSatisfiedException
class
Namespace: Orleans.Persistence.Cosmos
Exception thrown when a storage provider detects an Etag inconsistency when attempting to perform a WriteStateAsync operation.
[Orleans.GenerateSerializer]public class CosmosConditionNotSatisfiedException : InconsistentStateExceptionConstructors
CosmosConditionNotSatisfiedExceptionException 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, 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.CosmosConditionNotSatisfiedException(string, Exception)Exception thrown when a Cosmos DB exception is thrown due to update conditions not being satisfied.
Properties
CollectionGets the collection nameGrainIdGets the id of the affected grain.GrainTypeGets the grain type of the affected grain.
Methods
GetObjectData(SerializationInfo, StreamingContext)When overridden in a derived class, sets theSystem.Runtime.Serialization.SerializationInfowith information about the exception.
