Specifies the location mode to indicate which location should receive the request.
Namespace: Microsoft.WindowsAzure.Storage.RetryPolicies
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As LocationMode |
Syntax
Visual Basic |
---|
Public Enumeration LocationMode |
C# |
---|
public enum LocationMode |
C++ |
---|
public enum class LocationMode |
J# |
---|
public enum LocationMode |
JScript |
---|
public enum LocationMode |
Members
Member name | Description |
---|---|
PrimaryOnly | Requests are always sent to the primary location. |
PrimaryThenSecondary | Requests are always sent to the primary location first. If a request fails, it is sent to the secondary location. |
SecondaryOnly | Requests are always sent to the secondary location. |
SecondaryThenPrimary | Requests are always sent to the secondary location first. If a request fails, it is sent to the primary location. |