AzureStorageContext Constructors
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.
Overloads
AzureStorageContext() |
Proivides a private constructor for building empty instance which contains no account information. |
AzureStorageContext(CloudStorageAccount) | |
AzureStorageContext(CloudStorageAccount, String, IAzureContext, DebugLogWriter) |
Create a storage context usign cloud storage account |
AzureStorageContext()
Proivides a private constructor for building empty instance which contains no account information.
protected AzureStorageContext ();
Protected Sub New ()
Applies to
AzureStorageContext(CloudStorageAccount)
public AzureStorageContext (Microsoft.WindowsAzure.Storage.CloudStorageAccount account);
new Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext : Microsoft.WindowsAzure.Storage.CloudStorageAccount -> Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext
Public Sub New (account As CloudStorageAccount)
Parameters
- account
- CloudStorageAccount
Applies to
AzureStorageContext(CloudStorageAccount, String, IAzureContext, DebugLogWriter)
Create a storage context usign cloud storage account
public AzureStorageContext (Microsoft.Azure.Storage.CloudStorageAccount account, string accountName = default, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext DefaultContext = default, Microsoft.WindowsAzure.Commands.Storage.Common.DebugLogWriter logWriter = default);
new Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext : Microsoft.Azure.Storage.CloudStorageAccount * string * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext * Microsoft.WindowsAzure.Commands.Storage.Common.DebugLogWriter -> Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext
Public Sub New (account As CloudStorageAccount, Optional accountName As String = Nothing, Optional DefaultContext As IAzureContext = Nothing, Optional logWriter As DebugLogWriter = Nothing)
Parameters
- account
- CloudStorageAccount
cloud storage account
- accountName
- String
Storage account name
- DefaultContext
- IAzureContext
- logWriter
- DebugLogWriter