LocationMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the location mode to indicate which location should receive the request.
public enum LocationMode
type LocationMode =
Public Enum LocationMode
- Inheritance
-
LocationMode
Fields
Name | Value | Description |
---|---|---|
PrimaryOnly | 0 | Requests are always sent to the primary location. |
PrimaryThenSecondary | 1 | Requests are always sent to the primary location first. If a request fails, it is sent to the secondary location. |
SecondaryOnly | 2 | Requests are always sent to the secondary location. |
SecondaryThenPrimary | 3 | Requests are always sent to the secondary location first. If a request fails, it is sent to the primary location. |
Applies to
Azure SDK for .NET