Skip to content

InconsistentStateException Methods

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

GetObjectData(SerializationInfo, StreamingContext)

override
View source
[System.Obsolete]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.

Parameters

infoSerializationInfo
The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContext
The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

Exceptions

System.ArgumentNullException
The info parameter is a null reference (Nothing in Visual Basic).

ToString

override
View source
public override string ToString()
Creates and returns a string representation of the current exception.

Returns

A string representation of the current exception.