RetryContext Class (Microsoft.WindowsAzure.Storage.RetryPolicies)
From Microsoft.WindowsAzure.Storage.Queue
Represents the context for one or more retries of a request made against the Windows 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.
Namespace:
Microsoft.WindowsAzure.Storage.RetryPolicies
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Inheritance Hierarchy
System.::..Object
Microsoft.WindowsAzure.Storage.RetryPolicies.::..RetryContext
Syntax
Properties
Name Description 
CurrentRetryCountCurrentRetryCountCurrentRetryCountCurrentRetryCount
Gets the number of retries for the given operation.

LastRequestResultLastRequestResultLastRequestResultLastRequestResult
Gets the results of the last request.

LocationModeLocationModeLocationModeLocationMode
Gets the location mode for subsequent retries.

NextLocationNextLocationNextLocationNextLocation
Gets the target location for the next retry.
Methods
Name Description 
Equals(Object)(Object^)(Object)(Object) (Inherited from Object.)

GetHashCode()()()() (Inherited from Object.)

GetType()()()() (Inherited from Object.)

ToString()()()()
Returns a string that represents the current RetryContext instance.
(Overrides Object.::..ToString()()()().)
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Return to top
Represents the context for one or more retries of a request made against the Windows 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.
Inheritance Hierarchy
System.::..ObjectMicrosoft.WindowsAzure.Storage.RetryPolicies.::..RetryContext
Syntax
Properties
| Name | Description | |
|---|---|---|
| CurrentRetryCountCurrentRetryCountCurrentRetryCountCurrentRetryCount | Gets the number of retries for the given operation. | |
| LastRequestResultLastRequestResultLastRequestResultLastRequestResult | Gets the results of the last request. | |
| LocationModeLocationModeLocationModeLocationMode | Gets the location mode for subsequent retries. | |
| NextLocationNextLocationNextLocationNextLocation | Gets the target location for the next retry. |
Methods
| Name | Description | |
|---|---|---|
| Equals(Object)(Object^)(Object)(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | (Inherited from Object.) | |
| GetType()()()() | (Inherited from Object.) | |
| ToString()()()() | Returns a string that represents the current RetryContext instance. (Overrides Object.::..ToString()()()().) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.