共用方式為


FabricTransientException Class

Definition

The exception that indicates failure of an operation due to a transient environmental or runtime circumstance.

Handling FabricTransientException for Reliable Collections : The user is suggested to catch this exception, abort the transaction and retry all operations with a new Transaction

[System.Serializable]
public class FabricTransientException : System.Fabric.FabricException
[<System.Serializable>]
type FabricTransientException = class
    inherit FabricException
Public Class FabricTransientException
Inherits FabricException
Inheritance
FabricTransientException
Derived
Attributes

Remarks

For example, an operation may fail because a quorum of replicas is temporarily not reachable. The FabricTransientException corresponds to failed operations that can be tried again.

Constructors

FabricTransientException()

Initializes a new instance of FabricTransientException class with error code Unknown.

FabricTransientException(FabricErrorCode)

Initializes a new instance of FabricTransientException class with a specified error code.

FabricTransientException(SerializationInfo, StreamingContext, FabricErrorCode)

Initializes a new instance of FabricTransientException class with specified info, context and error code.

FabricTransientException(SerializationInfo, StreamingContext)

Initializes a new instance of FabricTransientException class with specified info, context.

FabricTransientException(String, Exception, FabricErrorCode)

Initializes a new instance of FabricTransientException class with a specified error message, a reference to the inner exception that is the cause of this exception, and a specified error code.

FabricTransientException(String, Exception)

Initializes a new instance of FabricTransientException class with a specified error message and a reference to the inner exception that is the cause of this exception.

FabricTransientException(String, FabricErrorCode)

Initializes a new instance of FabricTransientException class with specified message and error code.

FabricTransientException(String)

Initializes a new instance of FabricTransientException class with a specified message.

Properties

ErrorCode

Gets the error code parameter.

(Inherited from FabricException)

Applies to