Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

InconsistentStateException Class

Definition

Namespace:
Orleans.Storage
Assembly:
Orleans.dll
Assembly:
Orleans.Core.dll
Package:
Microsoft.Orleans.Core v1.5.10
Package:
Microsoft.Orleans.Core v10.0.0
Package:
Microsoft.Orleans.Core v2.4.5
Package:
Microsoft.Orleans.Core v3.6.5
Package:
Microsoft.Orleans.Core v7.2.5
Package:
Microsoft.Orleans.Core v8.0.0
Package:
Microsoft.Orleans.Core v8.1.0
Package:
Microsoft.Orleans.Core v8.2.0
Package:
Microsoft.Orleans.Core v9.0.0
Package:
Microsoft.Orleans.Core v9.1.2
Source:
IGrainStorage.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

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

Constructors

Name Description
InconsistentStateException()

Initializes a new instance of the InconsistentStateException class.

InconsistentStateException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the InconsistentStateException class.

InconsistentStateException(String, Exception)

Initializes a new instance of the InconsistentStateException class.

InconsistentStateException(String, String, Exception)

Initializes a new instance of the InconsistentStateException class.

InconsistentStateException(String, String, String, Exception)

Initializes a new instance of the InconsistentStateException class.

InconsistentStateException(String, String, String)

Initializes a new instance of the InconsistentStateException class.

InconsistentStateException(String)

Initializes a new instance of the InconsistentStateException class.

Properties

Name Description
CurrentEtag

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

StoredEtag

Gets the Etag value currently held in persistent storage.

Methods

Name Description
GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

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

ToString()

Creates and returns a string representation of the current exception.

Applies to