Edit

Share via


InconsistentStateException Constructors

Definition

Overloads

InconsistentStateException()

Initializes a new instance of the InconsistentStateException class.

InconsistentStateException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the InconsistentStateException class.

InconsistentStateException(String)

Initializes a new instance of the InconsistentStateException class.

InconsistentStateException(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, Exception)

Initializes a new instance of the InconsistentStateException class.

InconsistentStateException(String, String, String, Exception)

Initializes a new instance of the InconsistentStateException class.

InconsistentStateException()

Source:
IGrainStorage.cs

Initializes a new instance of the InconsistentStateException class.

public InconsistentStateException ();
Public Sub New ()

Applies to

InconsistentStateException(SerializationInfo, StreamingContext)

Source:
IGrainStorage.cs

Caution

This API is now deprecated.

Initializes a new instance of the InconsistentStateException class.

protected InconsistentStateException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete]
protected InconsistentStateException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Orleans.Storage.InconsistentStateException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Storage.InconsistentStateException
[<System.Obsolete>]
new Orleans.Storage.InconsistentStateException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Storage.InconsistentStateException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialization info.

context
StreamingContext

The context.

Attributes

Applies to

InconsistentStateException(String)

Source:
IGrainStorage.cs

Initializes a new instance of the InconsistentStateException class.

public InconsistentStateException (string msg);
public InconsistentStateException (string message);
new Orleans.Storage.InconsistentStateException : string -> Orleans.Storage.InconsistentStateException
new Orleans.Storage.InconsistentStateException : string -> Orleans.Storage.InconsistentStateException
Public Sub New (msg As String)
Public Sub New (message As String)

Parameters

msgmessage
String

Applies to

InconsistentStateException(String, String, Exception)

Source:
IGrainStorage.cs

Initializes a new instance of the InconsistentStateException class.

public InconsistentStateException (string storedEtag, string currentEtag, Exception storageException);
new Orleans.Storage.InconsistentStateException : string * string * Exception -> Orleans.Storage.InconsistentStateException
Public Sub New (storedEtag As String, currentEtag As String, storageException As Exception)

Parameters

storedEtag
String

The stored ETag.

currentEtag
String

The current ETag.

storageException
Exception

The storage exception.

Applies to

InconsistentStateException(String, String, String)

Source:
IGrainStorage.cs

Initializes a new instance of the InconsistentStateException class.

public InconsistentStateException (string errorMsg, string storedEtag, string currentEtag);
new Orleans.Storage.InconsistentStateException : string * string * string -> Orleans.Storage.InconsistentStateException
Public Sub New (errorMsg As String, storedEtag As String, currentEtag As String)

Parameters

errorMsg
String

The error message.

storedEtag
String

The stored ETag.

currentEtag
String

The current ETag.

Applies to

InconsistentStateException(String, Exception)

Source:
IGrainStorage.cs

Initializes a new instance of the InconsistentStateException class.

public InconsistentStateException (string msg, Exception exc);
public InconsistentStateException (string message, Exception innerException);
new Orleans.Storage.InconsistentStateException : string * Exception -> Orleans.Storage.InconsistentStateException
new Orleans.Storage.InconsistentStateException : string * Exception -> Orleans.Storage.InconsistentStateException
Public Sub New (msg As String, exc As Exception)
Public Sub New (message As String, innerException As Exception)

Parameters

msgmessage
String
excinnerException
Exception

Applies to

InconsistentStateException(String, String, String, Exception)

Source:
IGrainStorage.cs

Initializes a new instance of the InconsistentStateException class.

public InconsistentStateException (string errorMsg, string storedEtag, string currentEtag, Exception storageException);
new Orleans.Storage.InconsistentStateException : string * string * string * Exception -> Orleans.Storage.InconsistentStateException
Public Sub New (errorMsg As String, storedEtag As String, currentEtag As String, storageException As Exception)

Parameters

errorMsg
String

The error message.

storedEtag
String

The stored ETag.

currentEtag
String

The current ETag.

storageException
Exception

The inner exception.

Applies to