LocationMode Enumeration

Windows Runtime Azure Storage Client Library

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)

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 nameDescription
PrimaryOnlyRequests are always sent to the primary location.
PrimaryThenSecondaryRequests are always sent to the primary location first. If a request fails, it is sent to the secondary location.
SecondaryOnlyRequests are always sent to the secondary location.
SecondaryThenPrimaryRequests are always sent to the secondary location first. If a request fails, it is sent to the primary location.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also