Table of Contents

Class RetryInfo

Namespace
Microsoft.WindowsAzure.Storage.RetryPolicies
Assembly
Microsoft.WindowsAzure.Storage.dll

Specifies parameters for the next retry of a request to be made against the Microsoft Azure storage services, including the target location and location mode for the next retry and the interval until the next retry.

public sealed class RetryInfo
Inheritance
RetryInfo
Inherited Members

Constructors

RetryInfo()

Initializes a new instance of the RetryInfo class.

public RetryInfo()

RetryInfo(RetryContext)

Initializes a new instance of the RetryInfo class.

public RetryInfo(RetryContext retryContext)

Parameters

retryContext RetryContext

The RetryContext object that was passed in to the retry policy.

Properties

RetryInterval

Gets the interval until the next retry.

public TimeSpan RetryInterval { get; set; }

Property Value

TimeSpan

A TimeSpan object specifying the interval until the next retry.

TargetLocation

Gets or sets the target location for the next retry.

public StorageLocation TargetLocation { get; set; }

Property Value

StorageLocation

A StorageLocation enumeration value.

UpdatedLocationMode

Gets or sets the location mode for subsequent retries.

public LocationMode UpdatedLocationMode { get; set; }

Property Value

LocationMode

A LocationMode enumeration value.

Methods

ToString()

Returns a string that represents the current RetryInfo instance.

public override string ToString()

Returns

string

A string that represents the current RetryInfo instance.