StorageUri Class (Microsoft.WindowsAzure.Storage)
From Microsoft Windows Azure Storage Blob
Contains the URIs for both the primary and secondary locations of a Windows Azure Storage resource.
Namespace:
Microsoft.WindowsAzure.Storage
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
Constructors
Name Description 
StorageUri(Uri)(Uri^)(Uri)(Uri) Initializes a new instance of the StorageUri class using the primary endpoint for the storage account.

StorageUri(Uri, Uri)(Uri^, Uri^)(Uri, Uri)(Uri, Uri) Initializes a new instance of the StorageUri class using the primary and secondary endpoints for the storage account.
Properties
Name Description 
PrimaryUriPrimaryUriPrimaryUriPrimaryUri The endpoint for the primary location for the storage account.

SecondaryUriSecondaryUriSecondaryUriSecondaryUri The endpoint for the secondary location for the storage account.
Methods
Name Description 
Equals(Object)(Object^)(Object)(Object) Determines whether the specified Object is equal to this instance.(Overrides Object.::..Equals(Object)(Object^)(Object)(Object).)

Equals(StorageUri)(StorageUri^)(StorageUri)(StorageUri) Indicates whether the current object is equal to another object of the same type.

GetHashCode()()()() Returns a hash code for this instance.(Overrides Object.::..GetHashCode()()()().)

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

GetUri(StorageLocation)(StorageLocation)(StorageLocation)(StorageLocation) Returns the URI for the storage account endpoint at the specified location.

ToString()()()() Returns a String that represents this instance.(Overrides Object.::..ToString()()()().)
Operators
Name Description 

Equality(StorageUri, StorageUri)(StorageUri^, StorageUri^)(StorageUri, StorageUri)(StorageUri, StorageUri) Compares two StorageUri objects for equivalency.


Inequality(StorageUri, StorageUri)(StorageUri^, StorageUri^)(StorageUri, StorageUri)(StorageUri, StorageUri) Compares two StorageUri objects for non-equivalency.
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
Contains the URIs for both the primary and secondary locations of a Windows Azure Storage resource.
Syntax
Constructors
| Name | Description | |
|---|---|---|
| StorageUri(Uri)(Uri^)(Uri)(Uri) | Initializes a new instance of the StorageUri class using the primary endpoint for the storage account. | |
| StorageUri(Uri, Uri)(Uri^, Uri^)(Uri, Uri)(Uri, Uri) | Initializes a new instance of the StorageUri class using the primary and secondary endpoints for the storage account. |
Properties
| Name | Description | |
|---|---|---|
| PrimaryUriPrimaryUriPrimaryUriPrimaryUri | The endpoint for the primary location for the storage account. | |
| SecondaryUriSecondaryUriSecondaryUriSecondaryUri | The endpoint for the secondary location for the storage account. |
Methods
| Name | Description | |
|---|---|---|
| Equals(Object)(Object^)(Object)(Object) | Determines whether the specified Object is equal to this instance.(Overrides Object.::..Equals(Object)(Object^)(Object)(Object).) | |
| Equals(StorageUri)(StorageUri^)(StorageUri)(StorageUri) | Indicates whether the current object is equal to another object of the same type. | |
| GetHashCode()()()() | Returns a hash code for this instance.(Overrides Object.::..GetHashCode()()()().) | |
| GetType()()()() | (Inherited from Object.) | |
| GetUri(StorageLocation)(StorageLocation)(StorageLocation)(StorageLocation) | Returns the URI for the storage account endpoint at the specified location. | |
| ToString()()()() | Returns a String that represents this instance.(Overrides Object.::..ToString()()()().) |
Operators
| Name | Description | |
|---|---|---|
| Equality(StorageUri, StorageUri)(StorageUri^, StorageUri^)(StorageUri, StorageUri)(StorageUri, StorageUri) | Compares two StorageUri objects for equivalency. | |
| Inequality(StorageUri, StorageUri)(StorageUri^, StorageUri^)(StorageUri, StorageUri)(StorageUri, StorageUri) | Compares two StorageUri objects for non-equivalency. |
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.