Share via


ExceptionHandlingRetryResult Class

Definition

Specifies the exception handling result when the request from client to service can be retried

public sealed class ExceptionHandlingRetryResult : Microsoft.ServiceFabric.Services.Communication.Client.ExceptionHandlingResult
type ExceptionHandlingRetryResult = class
    inherit ExceptionHandlingResult
Public NotInheritable Class ExceptionHandlingRetryResult
Inherits ExceptionHandlingResult
Inheritance
ExceptionHandlingRetryResult

Constructors

ExceptionHandlingRetryResult(Exception, Boolean, OperationRetrySettings, Int32)

Initializes a new instance of the ExceptionHandlingRetryResult class.

ExceptionHandlingRetryResult(Exception, Boolean, TimeSpan, Int32)

Initializes a new instance of the ExceptionHandlingRetryResult class.

ExceptionHandlingRetryResult(String, Boolean, TimeSpan, Int32)

Initializes a new instance of the ExceptionHandlingRetryResult class.

Properties

ExceptionId

Gets string that uniquely identifies the exception type.

IsTransient

Gets a value indicating whether the exception is represents a transient condition. The transient retriable exceptions are those where the communication channel from client to service still exists. Non transient retriable exceptions are those where we need to re-resolve the service endpoint before we retry.

MaxRetryCount

Gets maximum number of times this exception type needs to be retried before giving up. The default value is int.MaxValue

RetryDelay

Gets the time interval after which the operation should be retried.

Methods

GetRetryDelay(Int32)

Gets the time interval after which the operation should be retried.

Applies to