Udostępnij za pośrednictwem


ServiceBusRetryPolicy Class

Definition

An abstract representation of a policy to govern retrying of messaging operations.

public abstract class ServiceBusRetryPolicy
type ServiceBusRetryPolicy = class
Public MustInherit Class ServiceBusRetryPolicy
Inheritance
ServiceBusRetryPolicy

Remarks

It is recommended that developers without advanced needs not implement custom retry policies but instead configure the default policy by specifying the desired set of retry options when creating one of the Service Bus clients.

Constructors

ServiceBusRetryPolicy()

Methods

CalculateRetryDelay(Exception, Int32)

Calculates the amount of time to wait before another attempt should be made.

CalculateTryTimeout(Int32)

Calculates the amount of time to allow the current attempt for an operation to complete before considering it to be timed out.

Applies to

See also