RetryPolicyProvider Class

Definition

A RequestInterceptor that sets the RetryPolicy.

public class RetryPolicyProvider : Microsoft.Azure.Batch.Protocol.RequestInterceptor
Inheritance

Inherited Members

Microsoft.Azure.Batch.Protocol.RequestInterceptor

Microsoft.Azure.Batch.Protocol.RequestReplacementInterceptor

Constructors

RetryPolicyProvider(IRetryPolicy)

Initializes a new behavior to set the retry policy.

Properties

Policy

Gets or sets the retry policy to use.

Methods

ExponentialRetryProvider(TimeSpan, Int32)

Creates a new RetryPolicyProvider using the ExponentialRetry policy.

LinearRetryProvider(TimeSpan, Int32)

Creates a new RetryPolicyProvider using the LinearRetry policy.

NoRetryProvider()

Creates a new RetryPolicyProvider using the NoRetry policy.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)