你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventHubsRetryPolicy Class

Definition

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

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

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 Event Hubs clients.

Constructors

Name Description
EventHubsRetryPolicy()

Methods

Name Description
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