C# Class FileStorage.Common

Show file Open project: Azure-Samples/storage-file-dotnet-getting-started

Public Methods

Method Description
CreateStorageAccountFromConnectionString ( string storageConnectionString ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Validates the connection string information in app.config and throws an exception if it looks like the user hasn't updated this to valid values.

WriteException ( Exception ex ) : void

Method Details

CreateStorageAccountFromConnectionString() public static method

Validates the connection string information in app.config and throws an exception if it looks like the user hasn't updated this to valid values.
public static CreateStorageAccountFromConnectionString ( string storageConnectionString ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount
storageConnectionString string The storage connection string
return Microsoft.WindowsAzure.Storage.CloudStorageAccount

WriteException() public static method

public static WriteException ( Exception ex ) : void
ex System.Exception
return void