C# Class WindowsAzure.Table.Extensions.CloudTableClientExtensions

Cloud table client extensions.
Exibir arquivo Open project: dtretyakov/WindowsAzure

Public Methods

Method Description
CreateIfNotExists ( this table ) : bool

Creates the table if it does not already exist.

GetServicePropertiesAsync ( this tableClient, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Gets the properties of the table service asynchronously.

ListTablesAsync ( this tableClient, CancellationToken cancellationToken = default(CancellationToken) ) : Task>

Gets the properties of the table service asynchronously.

ListTablesAsync ( this tableClient, string prefix, CancellationToken cancellationToken = default(CancellationToken) ) : Task>

Gets the properties of the table service asynchronously.

ListTablesAsync ( this tableClient, string prefix, int maxResults, CancellationToken cancellationToken = default(CancellationToken) ) : Task>

Gets the properties of the table service asynchronously.

ListTablesSegmentedAsync ( this tableClient, string prefix, Microsoft.WindowsAzure.Storage.Table.TableContinuationToken continuationToken, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Returns an enumerable collection of tables in the storage account asynchronously.

ListTablesSegmentedAsync ( this tableClient, string prefix, int maxResults, Microsoft.WindowsAzure.Storage.Table.TableContinuationToken continuationToken, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Returns an enumerable collection of tables in the storage account asynchronously.

SetServicePropertiesAsync ( this tableClient, Microsoft.WindowsAzure.Storage.Shared.Protocol.ServiceProperties serviceProperties, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Sets the properties of the table service asynchronously.

Private Methods

Method Description
ListTablesImplAsync ( this tableClient, List cloudTables, string prefix, int maxResults, Microsoft.WindowsAzure.Storage.Table.TableContinuationToken continuationToken, CancellationToken cancellationToken = default(CancellationToken) ) : Task>

Returns an enumerable collection of tables in the storage account asynchronously.

Method Details

CreateIfNotExists() public static method

Creates the table if it does not already exist.
public static CreateIfNotExists ( this table ) : bool
table this
return bool

GetServicePropertiesAsync() public static method

Gets the properties of the table service asynchronously.
public static GetServicePropertiesAsync ( this tableClient, CancellationToken cancellationToken = default(CancellationToken) ) : Task
tableClient this Cloud table client.
cancellationToken System.Threading.CancellationToken Cancellation token.
return Task

ListTablesAsync() public static method

Gets the properties of the table service asynchronously.
public static ListTablesAsync ( this tableClient, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
tableClient this Cloud table client.
cancellationToken System.Threading.CancellationToken Cancellation token.
return Task>

ListTablesAsync() public static method

Gets the properties of the table service asynchronously.
public static ListTablesAsync ( this tableClient, string prefix, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
tableClient this Cloud table client.
prefix string The table name prefix.
cancellationToken System.Threading.CancellationToken Cancellation token.
return Task>

ListTablesAsync() public static method

Gets the properties of the table service asynchronously.
public static ListTablesAsync ( this tableClient, string prefix, int maxResults, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
tableClient this Cloud table client.
prefix string The table name prefix.
maxResults int /// A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the /// per-operation limit of 5000. If this value is zero the maximum possible number of results will be returned, up to 5000. ///
cancellationToken System.Threading.CancellationToken Cancellation token.
return Task>

ListTablesSegmentedAsync() public static method

Returns an enumerable collection of tables in the storage account asynchronously.
public static ListTablesSegmentedAsync ( this tableClient, string prefix, Microsoft.WindowsAzure.Storage.Table.TableContinuationToken continuationToken, CancellationToken cancellationToken = default(CancellationToken) ) : Task
tableClient this Cloud table client.
prefix string The table name prefix.
continuationToken Microsoft.WindowsAzure.Storage.Table.TableContinuationToken /// A returned by a previous listing operation. ///
cancellationToken System.Threading.CancellationToken Cancellation token.
return Task

ListTablesSegmentedAsync() public static method

Returns an enumerable collection of tables in the storage account asynchronously.
public static ListTablesSegmentedAsync ( this tableClient, string prefix, int maxResults, Microsoft.WindowsAzure.Storage.Table.TableContinuationToken continuationToken, CancellationToken cancellationToken = default(CancellationToken) ) : Task
tableClient this Cloud table client.
prefix string The table name prefix.
maxResults int /// A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the /// per-operation limit of 5000. If this value is zero the maximum possible number of results will be returned, up to 5000. ///
continuationToken Microsoft.WindowsAzure.Storage.Table.TableContinuationToken Continuation token.
cancellationToken System.Threading.CancellationToken Cancellation token.
return Task

SetServicePropertiesAsync() public static method

Sets the properties of the table service asynchronously.
public static SetServicePropertiesAsync ( this tableClient, Microsoft.WindowsAzure.Storage.Shared.Protocol.ServiceProperties serviceProperties, CancellationToken cancellationToken = default(CancellationToken) ) : Task
tableClient this Cloud table client.
serviceProperties Microsoft.WindowsAzure.Storage.Shared.Protocol.ServiceProperties The table service properties.
cancellationToken System.Threading.CancellationToken Cancellation token.
return Task