StorageUri Constructor (Uri, Uri)

Windows Runtime Azure Storage Client Library

Initializes a new instance of the StorageUri class using the primary and secondary endpoints for the storage account.

Namespace: Microsoft.WindowsAzure.Storage
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim primaryUri As Uri
Dim secondaryUri As Uri

Dim instance As New StorageUri(primaryUri, secondaryUri)

Syntax

Visual Basic
Public Sub New ( _
	primaryUri As Uri, _
	secondaryUri As Uri _
)
C#
public StorageUri (
	Uri primaryUri,
	Uri secondaryUri
)
C++
public:
StorageUri (
	Uri^ primaryUri, 
	Uri^ secondaryUri
)
J#
public StorageUri (
	Uri primaryUri, 
	Uri secondaryUri
)
JScript
public function StorageUri (
	primaryUri : Uri, 
	secondaryUri : Uri
)

Parameters

primaryUri

The Uri for the primary endpoint.

secondaryUri

The Uri for the secondary endpoint.

Remarks


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