Class RetryContext
- Namespace
- Microsoft.WindowsAzure.Storage.RetryPolicies
- Assembly
- Microsoft.WindowsAzure.Storage.dll
Represents the context for one or more retries of a request made against the Microsoft Azure storage services, including the number of retries made for the request, the results of the last request, and the storage location and location mode for subsequent retries.
public sealed class RetryContext
- Inheritance
-
RetryContext
- Inherited Members
Properties
CurrentRetryCount
Gets the number of retries for the given operation.
public int CurrentRetryCount { get; }
Property Value
- int
An integer specifying the number of retries for the given operation.
LastRequestResult
Gets the results of the last request.
public RequestResult LastRequestResult { get; }
Property Value
- RequestResult
A RequestResult object.
LocationMode
Gets the location mode for subsequent retries.
public LocationMode LocationMode { get; }
Property Value
- LocationMode
A LocationMode enumeration value.
NextLocation
Gets the target location for the next retry.
public StorageLocation NextLocation { get; }
Property Value
- StorageLocation
A StorageLocation enumeration value.
Methods
ToString()
Returns a string that represents the current RetryContext instance.
public override string ToString()
Returns
- string
A string that represents the current RetryContext instance.