共用方式為


ServiceBusRetryOptions Class

Definition

The set of options that can be specified to influence how retry attempts are made, and a failure is eligible to be retried.

public class ServiceBusRetryOptions
type ServiceBusRetryOptions = class
Public Class ServiceBusRetryOptions
Inheritance
ServiceBusRetryOptions

Constructors

ServiceBusRetryOptions()

Properties

CustomRetryPolicy

A custom retry policy to be used in place of the individual option values.

Delay

The delay between retry attempts for a fixed approach or the delay on which to base calculations for a backoff-based approach.

MaxDelay

The maximum permissible delay between retry attempts.

MaxRetries

The maximum number of retry attempts before considering the associated operation to have failed.

Mode

The approach to use for calculating retry delays.

TryTimeout

The maximum duration to wait for completion of a single attempt, whether the initial attempt or a retry.

Applies to