C# Class TableStorage.Common

ファイルを表示 Open project: Azure-Samples/storage-table-dotnet-getting-started

Public Methods

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

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

CreateTableAsync ( string tableName ) : Task

Create a table for the sample application to process messages in.

Method Details

CreateStorageAccountFromConnectionString() public static method

Validate 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 Connection string for the storage service or the emulator
return Microsoft.WindowsAzure.Storage.CloudStorageAccount

CreateTableAsync() public static method

Create a table for the sample application to process messages in.
public static CreateTableAsync ( string tableName ) : Task
tableName string
return Task