共用方式為


NotificationHubRetryOptions 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 NotificationHubRetryOptions
type NotificationHubRetryOptions = class
Public Class NotificationHubRetryOptions
Inheritance
NotificationHubRetryOptions

Constructors

NotificationHubRetryOptions()

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.

Extension Methods

ToRetryPolicy(NotificationHubRetryOptions)

Converts the options into a retry policy for use.

Applies to