Class CloudTable
- Namespace
- Microsoft.WindowsAzure.Storage.Table
- Assembly
- Microsoft.WindowsAzure.Storage.dll
Represents a Microsoft Azure table.
public class CloudTable
- Inheritance
-
CloudTable
- Inherited Members
Constructors
CloudTable(StorageUri, StorageCredentials)
Initializes a new instance of the CloudTable class.
public CloudTable(StorageUri tableAddress, StorageCredentials credentials)
Parameters
tableAddress
StorageUriA StorageUri containing the absolute URI to the table at both the primary and secondary locations.
credentials
StorageCredentialsA StorageCredentials object.
CloudTable(Uri)
Initializes a new instance of the CloudTable class.
public CloudTable(Uri tableAddress)
Parameters
tableAddress
UriA System.Uri specifying the absolute URI to the table.
CloudTable(Uri, StorageCredentials)
Initializes a new instance of the CloudTable class.
public CloudTable(Uri tableAbsoluteUri, StorageCredentials credentials)
Parameters
tableAbsoluteUri
UriA System.Uri specifying the absolute URI to the table.
credentials
StorageCredentialsA StorageCredentials object.
Properties
Name
Gets the name of the table.
public string Name { get; }
Property Value
- string
A string containing the name of the table.
ServiceClient
Gets the CloudTableClient object that represents the Table service.
public CloudTableClient ServiceClient { get; }
Property Value
- CloudTableClient
A CloudTableClient object .
StorageUri
Gets the table's URIs for both the primary and secondary locations.
public StorageUri StorageUri { get; }
Property Value
- StorageUri
An object of type StorageUri containing the table's URIs for both the primary and secondary locations.
Uri
Gets the table URI for the primary location.
public Uri Uri { get; }
Property Value
- Uri
A System.Uri specifying the absolute URI to the table at the primary location.
Methods
BeginCreate(TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous operation to create a table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginCreate(TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginCreate(AsyncCallback, object)
Begins an asynchronous operation to create a table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginCreate(AsyncCallback callback, object state)
Parameters
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginCreateIfNotExists(TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous operation to create a table if it does not already exist.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginCreateIfNotExists(TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
Remarks
This API performs an existence check and therefore requires list permissions.
BeginCreateIfNotExists(AsyncCallback, object)
Begins an asynchronous operation to create a table if it does not already exist.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginCreateIfNotExists(AsyncCallback callback, object state)
Parameters
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
Remarks
This API performs an existence check and therefore requires list permissions.
BeginDelete(TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous operation to delete a table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginDelete(TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginDelete(AsyncCallback, object)
Begins an asynchronous operation to delete a table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginDelete(AsyncCallback callback, object state)
Parameters
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginDeleteIfExists(TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous operation to delete the table if it exists.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginDeleteIfExists(TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginDeleteIfExists(AsyncCallback, object)
Begins an asynchronous operation to delete the table if it exists.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginDeleteIfExists(AsyncCallback callback, object state)
Parameters
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginExecute(TableOperation, TableRequestOptions, OperationContext, AsyncCallback, object)
Begins execution of an asynchronous table operation.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecute(TableOperation operation, TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state)
Parameters
operation
TableOperationA TableOperation object that represents the operation to perform.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginExecute(TableOperation, AsyncCallback, object)
Begins execution of an asynchronous table operation.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecute(TableOperation operation, AsyncCallback callback, object state)
Parameters
operation
TableOperationA TableOperation object that represents the operation to perform.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginExecuteBatch(TableBatchOperation, TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous operation to execute a batch of operations on a table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecuteBatch(TableBatchOperation batch, TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state)
Parameters
batch
TableBatchOperationThe TableBatchOperation object representing the operations to execute on the table.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginExecuteBatch(TableBatchOperation, AsyncCallback, object)
Begins an asynchronous operation to execute a batch of operations on a table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecuteBatch(TableBatchOperation batch, AsyncCallback callback, object state)
Parameters
batch
TableBatchOperationThe TableBatchOperation object representing the operations to execute on the table.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginExecuteQueryForKeyRotationSegmented(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous segmented query on a table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecuteQueryForKeyRotationSegmented(TableQuery query, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginExecuteQueryForKeyRotationSegmented(TableQuery, TableContinuationToken, AsyncCallback, object)
Begins an asynchronous segmented query on a table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecuteQueryForKeyRotationSegmented(TableQuery query, TableContinuationToken token, AsyncCallback callback, object state)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginExecuteQuerySegmented(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous segmented query on a table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecuteQuerySegmented(TableQuery query, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginExecuteQuerySegmented(TableQuery, TableContinuationToken, AsyncCallback, object)
Begins an asynchronous segmented query on a table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecuteQuerySegmented(TableQuery query, TableContinuationToken token, AsyncCallback callback, object state)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginExecuteQuerySegmented<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous operation to execute a segmented query and apply the specified EntityResolver<T> to the result.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecuteQuerySegmented<TResult>(TableQuery query, EntityResolver<TResult> resolver, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state)
Parameters
query
TableQueryA TableQuery instance specifying the table to query and the query parameters to use.
resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
Type Parameters
TResult
The type into which the EntityResolver<T> will project the query results.
BeginExecuteQuerySegmented<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken, AsyncCallback, object)
Begins an asynchronous operation to execute a segmented query and apply the specified EntityResolver<T> to the result.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecuteQuerySegmented<TResult>(TableQuery query, EntityResolver<TResult> resolver, TableContinuationToken token, AsyncCallback callback, object state)
Parameters
query
TableQueryA TableQuery representing the query to execute.
resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
Type Parameters
TResult
BeginExecuteQuerySegmented<TElement>(TableQuery<TElement>, TableContinuationToken, TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous operation to query a table in segmented mode.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecuteQuerySegmented<TElement>(TableQuery<TElement> query, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
Type Parameters
TElement
The entity type of the query.
BeginExecuteQuerySegmented<TElement>(TableQuery<TElement>, TableContinuationToken, AsyncCallback, object)
Begins an asynchronous operation to query a table in segmented mode.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecuteQuerySegmented<TElement>(TableQuery<TElement> query, TableContinuationToken token, AsyncCallback callback, object state) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
Type Parameters
TElement
The entity type of the query.
BeginExecuteQuerySegmented<TElement, TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous operation to execute a query in segmented mode and apply the specified EntityResolver<T> to the results.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecuteQuerySegmented<TElement, TResult>(TableQuery<TElement> query, EntityResolver<TResult> resolver, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
Type Parameters
TElement
The entity type of the query.
TResult
The type into which the EntityResolver<T> will project the query results.
BeginExecuteQuerySegmented<TElement, TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken, AsyncCallback, object)
Begins an asynchronous operation to query a table in segmented mode and apply the specified EntityResolver<T> to the results.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExecuteQuerySegmented<TElement, TResult>(TableQuery<TElement> query, EntityResolver<TResult> resolver, TableContinuationToken token, AsyncCallback callback, object state) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
Type Parameters
TElement
The entity type of the query.
TResult
The type into which the EntityResolver<T> will project the query results.
BeginExists(TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous operation to determine whether a table exists.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExists(TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginExists(AsyncCallback, object)
Begins an asynchronous operation to determine whether a table exists.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginExists(AsyncCallback callback, object state)
Parameters
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginGetPermissions(TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous request to get the permissions settings for the table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginGetPermissions(TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginGetPermissions(AsyncCallback, object)
Begins an asynchronous request to get the permissions settings for the table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginGetPermissions(AsyncCallback callback, object state)
Parameters
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginSetPermissions(TablePermissions, TableRequestOptions, OperationContext, AsyncCallback, object)
Begins an asynchronous request to set permissions for the table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginSetPermissions(TablePermissions permissions, TableRequestOptions requestOptions, OperationContext operationContext, AsyncCallback callback, object state)
Parameters
permissions
TablePermissionsA TablePermissions object that represents the permissions to set.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
BeginSetPermissions(TablePermissions, AsyncCallback, object)
Begins an asynchronous request to set permissions for the table.
[DoesServiceRequest]
public virtual ICancellableAsyncResult BeginSetPermissions(TablePermissions permissions, AsyncCallback callback, object state)
Parameters
permissions
TablePermissionsA TablePermissions object that represents the permissions to set.
callback
AsyncCallbackAn AsyncCallback delegate that will receive notification when the asynchronous operation completes.
state
objectA user-defined object that will be passed to the callback delegate.
Returns
- ICancellableAsyncResult
An ICancellableAsyncResult that references the asynchronous operation.
Create(TableRequestOptions, OperationContext)
Creates a table.
[DoesServiceRequest]
public virtual void Create(TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
CreateAsync()
Initiates an asynchronous operation to create a table.
[DoesServiceRequest]
public virtual Task CreateAsync()
Returns
CreateAsync(TableRequestOptions, OperationContext)
Initiates an asynchronous operation to create a table.
[DoesServiceRequest]
public virtual Task CreateAsync(TableRequestOptions requestOptions, OperationContext operationContext)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
CreateAsync(TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to create a table.
[DoesServiceRequest]
public virtual Task CreateAsync(TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
CreateAsync(CancellationToken)
Initiates an asynchronous operation to create a table.
[DoesServiceRequest]
public virtual Task CreateAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
CreateIfNotExists(TableRequestOptions, OperationContext)
Creates the table if it does not already exist.
[DoesServiceRequest]
public virtual bool CreateIfNotExists(TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- bool
true
if table was created; otherwise,false
.
Remarks
This API performs an existence check and therefore requires list permissions.
CreateIfNotExistsAsync()
Initiates an asynchronous operation to create a table if it does not already exist.
[DoesServiceRequest]
public virtual Task<bool> CreateIfNotExistsAsync()
Returns
- Task<bool>
A Task<TResult> object of type
bool
that represents the asynchronous operation.
Remarks
This API performs an existence check and therefore requires list permissions.
CreateIfNotExistsAsync(TableRequestOptions, OperationContext)
Initiates an asynchronous operation to create a table if it does not already exist.
[DoesServiceRequest]
public virtual Task<bool> CreateIfNotExistsAsync(TableRequestOptions requestOptions, OperationContext operationContext)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- Task<bool>
A Task<TResult> object of type
bool
that represents the asynchronous operation.
Remarks
This API performs an existence check and therefore requires list permissions.
CreateIfNotExistsAsync(TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to create a table if it does not already exist.
[DoesServiceRequest]
public virtual Task<bool> CreateIfNotExistsAsync(TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<bool>
A Task<TResult> object of type
bool
that represents the asynchronous operation.
Remarks
This API performs an existence check and therefore requires list permissions.
CreateIfNotExistsAsync(CancellationToken)
Initiates an asynchronous operation to create a table if it does not already exist.
[DoesServiceRequest]
public virtual Task<bool> CreateIfNotExistsAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<bool>
A Task<TResult> object of type
bool
that represents the asynchronous operation.
Remarks
This API performs an existence check and therefore requires list permissions.
CreateQuery<TElement>()
A factory method that creates a query that can be modified using LINQ. The query may be subsequently executed using one of the execution methods available for CloudTable, such as ExecuteQuery(TableQuery, TableRequestOptions, OperationContext), ExecuteQuerySegmented(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext), or ExecuteQuerySegmentedAsync(TableQuery, TableContinuationToken).
public virtual TableQuery<TElement> CreateQuery<TElement>() where TElement : ITableEntity, new()
Returns
- TableQuery<TElement>
A TableQuery object, specialized for type
TElement
, that may subsequently be executed.
Type Parameters
TElement
The entity type of the query.
Remarks
The Microsoft.WindowsAzure.Storage.Table.Queryable namespace includes extension methods for the TableQuery object,
including WithOptions, WithContext, and AsTableQuery. To use these methods, include a using
statement that references the Microsoft.WindowsAzure.Storage.Table.Queryable namespace.
Delete(TableRequestOptions, OperationContext)
Deletes a table.
[DoesServiceRequest]
public virtual void Delete(TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
DeleteAsync()
Initiates an asynchronous operation to delete a table.
[DoesServiceRequest]
public virtual Task DeleteAsync()
Returns
DeleteAsync(TableRequestOptions, OperationContext)
Initiates an asynchronous operation to delete a table.
[DoesServiceRequest]
public virtual Task DeleteAsync(TableRequestOptions requestOptions, OperationContext operationContext)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
DeleteAsync(TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to delete a table.
[DoesServiceRequest]
public virtual Task DeleteAsync(TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
DeleteAsync(CancellationToken)
Initiates an asynchronous operation to delete a table.
[DoesServiceRequest]
public virtual Task DeleteAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
DeleteIfExists(TableRequestOptions, OperationContext)
Deletes the table if it exists.
[DoesServiceRequest]
public virtual bool DeleteIfExists(TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- bool
true
if the table was deleted; otherwise,false
.
DeleteIfExistsAsync()
Initiates an asynchronous operation to delete the table if it exists.
[DoesServiceRequest]
public virtual Task<bool> DeleteIfExistsAsync()
Returns
- Task<bool>
A Task<TResult> object of type
bool
that represents the asynchronous operation.
DeleteIfExistsAsync(TableRequestOptions, OperationContext)
Initiates an asynchronous operation to delete the table if it exists.
[DoesServiceRequest]
public virtual Task<bool> DeleteIfExistsAsync(TableRequestOptions requestOptions, OperationContext operationContext)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- Task<bool>
A Task<TResult> object of type
bool
that represents the asynchronous operation.
DeleteIfExistsAsync(TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to delete the table if it exists.
[DoesServiceRequest]
public virtual Task<bool> DeleteIfExistsAsync(TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<bool>
A Task<TResult> object of type
bool
that represents the asynchronous operation.
DeleteIfExistsAsync(CancellationToken)
Initiates an asynchronous operation to delete the table if it exists.
[DoesServiceRequest]
public virtual Task<bool> DeleteIfExistsAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<bool>
A Task<TResult> object of type
bool
that represents the asynchronous operation.
EndCreate(IAsyncResult)
Ends an asynchronous operation to create a table.
public virtual void EndCreate(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
EndCreateIfNotExists(IAsyncResult)
Ends an asynchronous operation to create a table if it does not already exist.
public virtual bool EndCreateIfNotExists(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
Returns
- bool
true
if table was created; otherwise,false
.
EndDelete(IAsyncResult)
Ends an asynchronous operation to delete a table.
public virtual void EndDelete(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
EndDeleteIfExists(IAsyncResult)
Ends an asynchronous operation to delete the table if it exists.
public virtual bool EndDeleteIfExists(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
Returns
- bool
true
if the table was deleted; otherwise,false
.
EndExecute(IAsyncResult)
Ends execution of an asynchronous table operation.
public virtual TableResult EndExecute(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
Returns
- TableResult
A TableResult containing the result executing the operation on the table.
EndExecuteBatch(IAsyncResult)
Ends an asynchronous operation to execute a batch of operations on a table.
public virtual IList<TableResult> EndExecuteBatch(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
Returns
- IList<TableResult>
A enumerable collection of type TableResult that contains the results, in order, of each operation in the TableBatchOperation on the table.
EndExecuteQueryForKeyRotationSegmented(IAsyncResult)
Ends an asynchronous segmented query on a table.
public virtual TableQuerySegment<KeyRotationEntity> EndExecuteQueryForKeyRotationSegmented(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
Returns
- TableQuerySegment<KeyRotationEntity>
A TableQuerySegment<TElement> object of type KeyRotationEntity containing the results of executing the query.
EndExecuteQuerySegmented(IAsyncResult)
Ends an asynchronous segmented query on a table.
public virtual TableQuerySegment<DynamicTableEntity> EndExecuteQuerySegmented(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
Returns
- TableQuerySegment<DynamicTableEntity>
A TableQuerySegment<TElement> object of type DynamicTableEntity containing the results of executing the query.
EndExecuteQuerySegmented<TResult>(IAsyncResult)
Ends an asynchronous operation to query a table in segmented mode.
public virtual TableQuerySegment<TResult> EndExecuteQuerySegmented<TResult>(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
Returns
- TableQuerySegment<TResult>
A TableQuerySegment<TElement> containing the results of executing the query.
Type Parameters
TResult
The type of the results to be returned. Can be the entity type specified in the Begin or the result type of the resolver
EndExecuteQuerySegmented<TElement, TResult>(IAsyncResult)
Ends an asynchronous operation to execute a query in segmented mode.
public virtual TableQuerySegment<TResult> EndExecuteQuerySegmented<TElement, TResult>(IAsyncResult asyncResult) where TElement : ITableEntity, new()
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
Returns
- TableQuerySegment<TResult>
A TableQuerySegment<TElement> containing the projection into type
TResult
of the results of executing the query.
Type Parameters
TElement
The entity type of the query.
TResult
The type into which the EntityResolver<T> will project the query results.
EndExists(IAsyncResult)
Ends an asynchronous operation to determine whether a table exists.
public virtual bool EndExists(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
Returns
- bool
true
if table exists; otherwise,false
.
EndGetPermissions(IAsyncResult)
Returns the asynchronous result of the request to get the permissions settings for the table.
public virtual TablePermissions EndGetPermissions(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
Returns
- TablePermissions
A TablePermissions object.
EndSetPermissions(IAsyncResult)
Returns the asynchronous result of the request to get the permissions settings for the table.
public virtual void EndSetPermissions(IAsyncResult asyncResult)
Parameters
asyncResult
IAsyncResultAn IAsyncResult that references the pending asynchronous operation.
Execute(TableOperation, TableRequestOptions, OperationContext)
Executes an operation on a table.
[DoesServiceRequest]
public virtual TableResult Execute(TableOperation operation, TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
operation
TableOperationA TableOperation object that represents the operation to perform.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- TableResult
A TableResult object.
ExecuteAsync(TableOperation)
Initiates an asynchronous operation that executes an asynchronous table operation.
[DoesServiceRequest]
public virtual Task<TableResult> ExecuteAsync(TableOperation operation)
Parameters
operation
TableOperationA TableOperation object that represents the operation to perform.
Returns
- Task<TableResult>
A Task<TResult> object of type TableResult that represents the asynchronous operation.
ExecuteAsync(TableOperation, TableRequestOptions, OperationContext)
Initiates an asynchronous operation that executes an asynchronous table operation.
[DoesServiceRequest]
public virtual Task<TableResult> ExecuteAsync(TableOperation operation, TableRequestOptions requestOptions, OperationContext operationContext)
Parameters
operation
TableOperationA TableOperation object that represents the operation to perform.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- Task<TableResult>
A Task<TResult> object of type TableResult that represents the asynchronous operation.
ExecuteAsync(TableOperation, TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation that executes an asynchronous table operation.
[DoesServiceRequest]
public virtual Task<TableResult> ExecuteAsync(TableOperation operation, TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Parameters
operation
TableOperationA TableOperation object that represents the operation to perform.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TableResult>
A Task<TResult> object of type TableResult that represents the asynchronous operation.
ExecuteAsync(TableOperation, CancellationToken)
Initiates an asynchronous operation that executes an asynchronous table operation.
[DoesServiceRequest]
public virtual Task<TableResult> ExecuteAsync(TableOperation operation, CancellationToken cancellationToken)
Parameters
operation
TableOperationA TableOperation object that represents the operation to perform.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TableResult>
A Task<TResult> object of type TableResult that represents the asynchronous operation.
ExecuteBatch(TableBatchOperation, TableRequestOptions, OperationContext)
Executes a batch operation on a table as an atomic operation.
[DoesServiceRequest]
public virtual IList<TableResult> ExecuteBatch(TableBatchOperation batch, TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
batch
TableBatchOperationThe TableBatchOperation object representing the operations to execute on the table.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- IList<TableResult>
An enumerable collection of TableResult objects that contains the results, in order, of each operation in the TableBatchOperation on the table.
ExecuteBatchAsync(TableBatchOperation)
Initiates an asynchronous operation to execute a batch of operations on a table.
[DoesServiceRequest]
public virtual Task<IList<TableResult>> ExecuteBatchAsync(TableBatchOperation batch)
Parameters
batch
TableBatchOperationThe TableBatchOperation object representing the operations to execute on the table.
Returns
- Task<IList<TableResult>>
A Task<TResult> object that is list of type TableResult that represents the asynchronous operation.
ExecuteBatchAsync(TableBatchOperation, TableRequestOptions, OperationContext)
Initiates an asynchronous operation to execute a batch of operations on a table.
[DoesServiceRequest]
public virtual Task<IList<TableResult>> ExecuteBatchAsync(TableBatchOperation batch, TableRequestOptions requestOptions, OperationContext operationContext)
Parameters
batch
TableBatchOperationThe TableBatchOperation object representing the operations to execute on the table.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- Task<IList<TableResult>>
A Task<TResult> object that is list of type TableResult that represents the asynchronous operation.
ExecuteBatchAsync(TableBatchOperation, TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to execute a batch of operations on a table.
[DoesServiceRequest]
public virtual Task<IList<TableResult>> ExecuteBatchAsync(TableBatchOperation batch, TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Parameters
batch
TableBatchOperationThe TableBatchOperation object representing the operations to execute on the table.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<IList<TableResult>>
A Task<TResult> object that is list of type TableResult that represents the asynchronous operation.
ExecuteBatchAsync(TableBatchOperation, CancellationToken)
Initiates an asynchronous operation to execute a batch of operations on a table.
[DoesServiceRequest]
public virtual Task<IList<TableResult>> ExecuteBatchAsync(TableBatchOperation batch, CancellationToken cancellationToken)
Parameters
batch
TableBatchOperationThe TableBatchOperation object representing the operations to execute on the table.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<IList<TableResult>>
A Task<TResult> object that is list of type TableResult that represents the asynchronous operation.
ExecuteQuery(TableQuery, TableRequestOptions, OperationContext)
Executes a query on a table and returns an enumerable collection of DynamicTableEntity objects.
[DoesServiceRequest]
public virtual IEnumerable<DynamicTableEntity> ExecuteQuery(TableQuery query, TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
query
TableQueryA TableQuery representing the query to execute.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- IEnumerable<DynamicTableEntity>
An enumerable collection of DynamicTableEntity objects, representing table entities returned by the query.
ExecuteQueryForKeyRotation(TableQuery, TableRequestOptions, OperationContext)
Executes a query on a table and returns an enumerable collection of KeyRotationEntity objects.
[DoesServiceRequest]
public virtual IEnumerable<KeyRotationEntity> ExecuteQueryForKeyRotation(TableQuery query, TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
query
TableQueryA TableQuery representing the query to execute.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- IEnumerable<KeyRotationEntity>
An enumerable collection of KeyRotationEntity objects, representing table entities returned by the query.
ExecuteQueryForKeyRotationSegmented(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext)
Executes a segmented query on a table and returns a TableQuerySegment<TElement> containing KeyRotationEntity objects.
[DoesServiceRequest]
public virtual TableQuerySegment<KeyRotationEntity> ExecuteQueryForKeyRotationSegmented(TableQuery query, TableContinuationToken token, TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- TableQuerySegment<KeyRotationEntity>
A TableQuerySegment<TElement> object of type KeyRotationEntity containing the results of executing the query.
ExecuteQueryForKeyRotationSegmentedAsync(TableQuery, TableContinuationToken)
Initiates an asynchronous operation to perform a segmented query on a table.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<KeyRotationEntity>> ExecuteQueryForKeyRotationSegmentedAsync(TableQuery query, TableContinuationToken token)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
Returns
- Task<TableQuerySegment<KeyRotationEntity>>
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
ExecuteQueryForKeyRotationSegmentedAsync(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext)
Initiates an asynchronous operation to perform a segmented query on a table.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<KeyRotationEntity>> ExecuteQueryForKeyRotationSegmentedAsync(TableQuery query, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- Task<TableQuerySegment<KeyRotationEntity>>
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
ExecuteQueryForKeyRotationSegmentedAsync(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to perform a segmented query on a table.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<KeyRotationEntity>> ExecuteQueryForKeyRotationSegmentedAsync(TableQuery query, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TableQuerySegment<KeyRotationEntity>>
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
ExecuteQueryForKeyRotationSegmentedAsync(TableQuery, TableContinuationToken, CancellationToken)
Initiates an asynchronous operation to perform a segmented query on a table.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<KeyRotationEntity>> ExecuteQueryForKeyRotationSegmentedAsync(TableQuery query, TableContinuationToken token, CancellationToken cancellationToken)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TableQuerySegment<KeyRotationEntity>>
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
ExecuteQuerySegmented(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext)
Executes a segmented query on a table and returns a TableQuerySegment<TElement> containing DynamicTableEntity objects.
[DoesServiceRequest]
public virtual TableQuerySegment<DynamicTableEntity> ExecuteQuerySegmented(TableQuery query, TableContinuationToken token, TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- TableQuerySegment<DynamicTableEntity>
A TableQuerySegment<TElement> object of type DynamicTableEntity containing the results of executing the query.
ExecuteQuerySegmentedAsync(TableQuery, TableContinuationToken)
Initiates an asynchronous operation to perform a segmented query on a table.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<DynamicTableEntity>> ExecuteQuerySegmentedAsync(TableQuery query, TableContinuationToken token)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
Returns
- Task<TableQuerySegment<DynamicTableEntity>>
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
ExecuteQuerySegmentedAsync(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext)
Initiates an asynchronous operation to perform a segmented query on a table.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<DynamicTableEntity>> ExecuteQuerySegmentedAsync(TableQuery query, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- Task<TableQuerySegment<DynamicTableEntity>>
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
ExecuteQuerySegmentedAsync(TableQuery, TableContinuationToken, TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to perform a segmented query on a table.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<DynamicTableEntity>> ExecuteQuerySegmentedAsync(TableQuery query, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TableQuerySegment<DynamicTableEntity>>
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
ExecuteQuerySegmentedAsync(TableQuery, TableContinuationToken, CancellationToken)
Initiates an asynchronous operation to perform a segmented query on a table.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<DynamicTableEntity>> ExecuteQuerySegmentedAsync(TableQuery query, TableContinuationToken token, CancellationToken cancellationToken)
Parameters
query
TableQueryA TableQuery representing the query to execute.
token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TableQuerySegment<DynamicTableEntity>>
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
ExecuteQuerySegmentedAsync<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken)
Initiates an asynchronous operation to execute a segmented query and apply the specified EntityResolver<T> to the result.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TResult>(TableQuery query, EntityResolver<TResult> resolver, TableContinuationToken token)
Parameters
query
TableQueryA TableQuery instance specifying the table to query and the query parameters to use.
resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
Returns
- Task<TableQuerySegment<TResult>>
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
Type Parameters
TResult
The type into which the EntityResolver<T> will project the query results.
ExecuteQuerySegmentedAsync<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext)
Initiates an asynchronous operation to execute a segmented query and apply the specified EntityResolver<T> to the result.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TResult>(TableQuery query, EntityResolver<TResult> resolver, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext)
Parameters
query
TableQueryA TableQuery instance specifying the table to query and the query parameters to use.
resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- Task<TableQuerySegment<TResult>>
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
Type Parameters
TResult
The type into which the EntityResolver<T> will project the query results.
ExecuteQuerySegmentedAsync<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to execute a segmented query and apply the specified EntityResolver<T> to the result.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TResult>(TableQuery query, EntityResolver<TResult> resolver, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Parameters
query
TableQueryA TableQuery instance specifying the table to query and the query parameters to use.
resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TableQuerySegment<TResult>>
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
Type Parameters
TResult
The type into which the EntityResolver<T> will project the query results.
ExecuteQuerySegmentedAsync<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken, CancellationToken)
Initiates an asynchronous operation to execute a segmented query and apply the specified EntityResolver<T> to the result.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TResult>(TableQuery query, EntityResolver<TResult> resolver, TableContinuationToken token, CancellationToken cancellationToken)
Parameters
query
TableQueryA TableQuery instance specifying the table to query and the query parameters to use.
resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TableQuerySegment<TResult>>
A Task<TResult> object of type TableQuerySegment<TElement> that represents the asynchronous operation.
Type Parameters
TResult
The type into which the EntityResolver<T> will project the query results.
ExecuteQuerySegmentedAsync<TElement>(TableQuery<TElement>, TableContinuationToken)
Initiates an asynchronous operation to query a table in segmented mode.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<TElement>> ExecuteQuerySegmentedAsync<TElement>(TableQuery<TElement> query, TableContinuationToken token) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
Returns
- Task<TableQuerySegment<TElement>>
A Task<TResult> object that represents the asynchronous operation.
Type Parameters
TElement
The entity type of the query.
ExecuteQuerySegmentedAsync<TElement>(TableQuery<TElement>, TableContinuationToken, TableRequestOptions, OperationContext)
Initiates an asynchronous operation to query a table in segmented mode.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<TElement>> ExecuteQuerySegmentedAsync<TElement>(TableQuery<TElement> query, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- Task<TableQuerySegment<TElement>>
A Task<TResult> object that represents the asynchronous operation.
Type Parameters
TElement
The entity type of the query.
ExecuteQuerySegmentedAsync<TElement>(TableQuery<TElement>, TableContinuationToken, TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to query a table in segmented mode.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<TElement>> ExecuteQuerySegmentedAsync<TElement>(TableQuery<TElement> query, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TableQuerySegment<TElement>>
A Task<TResult> object that represents the asynchronous operation.
Type Parameters
TElement
The entity type of the query.
ExecuteQuerySegmentedAsync<TElement>(TableQuery<TElement>, TableContinuationToken, CancellationToken)
Initiates an asynchronous operation to query a table in segmented mode.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<TElement>> ExecuteQuerySegmentedAsync<TElement>(TableQuery<TElement> query, TableContinuationToken token, CancellationToken cancellationToken) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TableQuerySegment<TElement>>
A Task<TResult> object that represents the asynchronous operation.
Type Parameters
TElement
The entity type of the query.
ExecuteQuerySegmentedAsync<TElement, TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken)
Initiates an asynchronous operation to execute a query in segmented mode and apply the specified EntityResolver<T> to the results.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TElement, TResult>(TableQuery<TElement> query, EntityResolver<TResult> resolver, TableContinuationToken token) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
Returns
- Task<TableQuerySegment<TResult>>
A Task<TResult> object that represents the asynchronous operation.
Type Parameters
TElement
The entity type of the query.
TResult
The type into which the EntityResolver<T> will project the query results.
ExecuteQuerySegmentedAsync<TElement, TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext)
Initiates an asynchronous operation to execute a query in segmented mode and apply the specified EntityResolver<T> to the results.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TElement, TResult>(TableQuery<TElement> query, EntityResolver<TResult> resolver, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- Task<TableQuerySegment<TResult>>
A Task<TResult> object that represents the asynchronous operation.
Type Parameters
TElement
The entity type of the query.
TResult
The type into which the EntityResolver<T> will project the query results.
ExecuteQuerySegmentedAsync<TElement, TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to execute a query in segmented mode and apply the specified EntityResolver<T> to the results.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TElement, TResult>(TableQuery<TElement> query, EntityResolver<TResult> resolver, TableContinuationToken token, TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TableQuerySegment<TResult>>
A Task<TResult> object that represents the asynchronous operation.
Type Parameters
TElement
The entity type of the query.
TResult
The type into which the EntityResolver<T> will project the query results.
ExecuteQuerySegmentedAsync<TElement, TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken, CancellationToken)
Initiates an asynchronous operation to execute a query in segmented mode and apply the specified EntityResolver<T> to the results.
[DoesServiceRequest]
public virtual Task<TableQuerySegment<TResult>> ExecuteQuerySegmentedAsync<TElement, TResult>(TableQuery<TElement> query, EntityResolver<TResult> resolver, TableContinuationToken token, CancellationToken cancellationToken) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TableQuerySegment<TResult>>
A Task<TResult> object that represents the asynchronous operation.
Type Parameters
TElement
The entity type of the query.
TResult
The type into which the EntityResolver<T> will project the query results.
ExecuteQuerySegmented<TResult>(TableQuery, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext)
Executes a segmented query on a table and applies the specified EntityResolver<T> to the result.
[DoesServiceRequest]
public virtual TableQuerySegment<TResult> ExecuteQuerySegmented<TResult>(TableQuery query, EntityResolver<TResult> resolver, TableContinuationToken token, TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
query
TableQueryA TableQuery representing the query to execute.
resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- TableQuerySegment<TResult>
A TableQuerySegment<TElement> object containing the results of executing the query.
Type Parameters
TResult
ExecuteQuerySegmented<TElement>(TableQuery<TElement>, TableContinuationToken, TableRequestOptions, OperationContext)
Executes a query on a table in segmented mode.
[DoesServiceRequest]
public virtual TableQuerySegment<TElement> ExecuteQuerySegmented<TElement>(TableQuery<TElement> query, TableContinuationToken token, TableRequestOptions requestOptions = null, OperationContext operationContext = null) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- TableQuerySegment<TElement>
A TableQuerySegment<TElement>, specialized for type
TElement
, containing the results of executing the query.
Type Parameters
TElement
The entity type of the query.
ExecuteQuerySegmented<TElement, TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableContinuationToken, TableRequestOptions, OperationContext)
Executes a query in segmented mode and applies the specified EntityResolver<T> to the results.
[DoesServiceRequest]
public virtual TableQuerySegment<TResult> ExecuteQuerySegmented<TElement, TResult>(TableQuery<TElement> query, EntityResolver<TResult> resolver, TableContinuationToken token, TableRequestOptions requestOptions = null, OperationContext operationContext = null) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.token
TableContinuationTokenA TableContinuationToken object representing a continuation token from the server when the operation returns a partial result.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- TableQuerySegment<TResult>
A TableQuerySegment<TElement> containing the projection into type
TResult
of the results of executing the query.
Type Parameters
TElement
The entity type of the query.
TResult
The type into which the EntityResolver<T> will project the query results.
ExecuteQuery<TResult>(TableQuery, EntityResolver<TResult>, TableRequestOptions, OperationContext)
Executes a query on a table and applies the specified EntityResolver<T> to the result.
[DoesServiceRequest]
public virtual IEnumerable<TResult> ExecuteQuery<TResult>(TableQuery query, EntityResolver<TResult> resolver, TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
query
TableQueryA TableQuery representing the query to execute.
resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- IEnumerable<TResult>
An enumerable collection, containing the projection into type
TResult
, of the results of executing the query.
Type Parameters
TResult
ExecuteQuery<TElement>(TableQuery<TElement>, TableRequestOptions, OperationContext)
Executes a query on a table.
[DoesServiceRequest]
public virtual IEnumerable<TElement> ExecuteQuery<TElement>(TableQuery<TElement> query, TableRequestOptions requestOptions = null, OperationContext operationContext = null) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- IEnumerable<TElement>
An enumerable collection, specialized for type
TElement
, of the results of executing the query.
Type Parameters
TElement
The entity type of the query.
ExecuteQuery<TElement, TResult>(TableQuery<TElement>, EntityResolver<TResult>, TableRequestOptions, OperationContext)
Executes a query and applies the specified EntityResolver<T> to the result.
[DoesServiceRequest]
public virtual IEnumerable<TResult> ExecuteQuery<TElement, TResult>(TableQuery<TElement> query, EntityResolver<TResult> resolver, TableRequestOptions requestOptions = null, OperationContext operationContext = null) where TElement : ITableEntity, new()
Parameters
query
TableQuery<TElement>A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type
TElement
.resolver
EntityResolver<TResult>An EntityResolver<T> instance which creates a projection of the table query result entities into the specified type
TResult
.requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- IEnumerable<TResult>
An enumerable collection, containing the projection into type
TResult
, of the results of executing the query.
Type Parameters
TElement
The entity type of the query.
TResult
The type into which the EntityResolver<T> will project the query results.
Exists(TableRequestOptions, OperationContext)
Checks whether the table exists.
[DoesServiceRequest]
public virtual bool Exists(TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- bool
true
if table exists; otherwise,false
.
ExistsAsync()
Initiates an asynchronous operation to determine whether a table exists.
[DoesServiceRequest]
public virtual Task<bool> ExistsAsync()
Returns
- Task<bool>
A Task<TResult> object of type
bool
that represents the asynchronous operation.
ExistsAsync(TableRequestOptions, OperationContext)
Initiates an asynchronous operation to determine whether a table exists.
[DoesServiceRequest]
public virtual Task<bool> ExistsAsync(TableRequestOptions requestOptions, OperationContext operationContext)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- Task<bool>
A Task<TResult> object of type
bool
that represents the asynchronous operation.
ExistsAsync(TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to determine whether a table exists.
[DoesServiceRequest]
public virtual Task<bool> ExistsAsync(TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<bool>
A Task<TResult> object of type
bool
that represents the asynchronous operation.
ExistsAsync(CancellationToken)
Initiates an asynchronous operation to determine whether a table exists.
[DoesServiceRequest]
public virtual Task<bool> ExistsAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<bool>
A Task<TResult> object of type
bool
that represents the asynchronous operation.
GetPermissions(TableRequestOptions, OperationContext)
Gets the permissions settings for the table.
[DoesServiceRequest]
public virtual TablePermissions GetPermissions(TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- TablePermissions
A TablePermissions object.
GetPermissionsAsync()
Initiates an asynchronous operation to get the permissions settings for the table.
[DoesServiceRequest]
public virtual Task<TablePermissions> GetPermissionsAsync()
Returns
- Task<TablePermissions>
A Task<TResult> object of type TablePermissions that represents the asynchronous operation.
GetPermissionsAsync(TableRequestOptions, OperationContext)
Initiates an asynchronous operation to get the permissions settings for the table.
[DoesServiceRequest]
public virtual Task<TablePermissions> GetPermissionsAsync(TableRequestOptions requestOptions, OperationContext operationContext)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
- Task<TablePermissions>
A Task<TResult> object of type TablePermissions that represents the asynchronous operation.
GetPermissionsAsync(TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to get the permissions settings for the table.
[DoesServiceRequest]
public virtual Task<TablePermissions> GetPermissionsAsync(TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Parameters
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TablePermissions>
A Task<TResult> object of type TablePermissions that represents the asynchronous operation.
GetPermissionsAsync(CancellationToken)
Initiates an asynchronous operation to get the permissions settings for the table.
[DoesServiceRequest]
public virtual Task<TablePermissions> GetPermissionsAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
- Task<TablePermissions>
A Task<TResult> object of type TablePermissions that represents the asynchronous operation.
GetSharedAccessSignature(SharedAccessTablePolicy)
Returns a shared access signature for the table.
public string GetSharedAccessSignature(SharedAccessTablePolicy policy)
Parameters
policy
SharedAccessTablePolicyA SharedAccessTablePolicy object specifying the access policy for the shared access signature.
Returns
- string
A shared access signature, as a URI query string.
Remarks
The query string returned includes the leading question mark.
Exceptions
- InvalidOperationException
Thrown if the current credentials don't support creating a shared access signature.
GetSharedAccessSignature(SharedAccessTablePolicy, string)
Returns a shared access signature for the table.
public string GetSharedAccessSignature(SharedAccessTablePolicy policy, string accessPolicyIdentifier)
Parameters
policy
SharedAccessTablePolicyA SharedAccessTablePolicy object specifying the access policy for the shared access signature.
accessPolicyIdentifier
stringA string identifying a stored access policy.
Returns
- string
A shared access signature, as a URI query string.
Remarks
The query string returned includes the leading question mark.
Exceptions
- InvalidOperationException
Thrown if the current credentials don't support creating a shared access signature.
GetSharedAccessSignature(SharedAccessTablePolicy, string, string, string, string, string)
Returns a shared access signature for the table.
public string GetSharedAccessSignature(SharedAccessTablePolicy policy, string accessPolicyIdentifier, string startPartitionKey, string startRowKey, string endPartitionKey, string endRowKey)
Parameters
policy
SharedAccessTablePolicyA SharedAccessTablePolicy object specifying the access policy for the shared access signature.
accessPolicyIdentifier
stringA string identifying a stored access policy.
startPartitionKey
stringA string specifying the start partition key, or
null
.startRowKey
stringA string specifying the start row key, or
null
.endPartitionKey
stringA string specifying the end partition key, or
null
.endRowKey
stringA string specifying the end row key, or
null
.
Returns
- string
A shared access signature, as a URI query string.
Remarks
The query string returned includes the leading question mark.
Exceptions
- InvalidOperationException
Thrown if the current credentials don't support creating a shared access signature.
GetSharedAccessSignature(SharedAccessTablePolicy, string, string, string, string, string, SharedAccessProtocol?, IPAddressOrRange)
Returns a shared access signature for the table.
public string GetSharedAccessSignature(SharedAccessTablePolicy policy, string accessPolicyIdentifier, string startPartitionKey, string startRowKey, string endPartitionKey, string endRowKey, SharedAccessProtocol? protocols, IPAddressOrRange ipAddressOrRange)
Parameters
policy
SharedAccessTablePolicyA SharedAccessTablePolicy object specifying the access policy for the shared access signature.
accessPolicyIdentifier
stringA string identifying a stored access policy.
startPartitionKey
stringA string specifying the start partition key, or
null
.startRowKey
stringA string specifying the start row key, or
null
.endPartitionKey
stringA string specifying the end partition key, or
null
.endRowKey
stringA string specifying the end row key, or
null
.protocols
SharedAccessProtocol?The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol.
ipAddressOrRange
IPAddressOrRangeThe allowed IP address or IP address range. Null if you don't want to restrict based on IP address.
Returns
- string
A shared access signature, as a URI query string.
Remarks
The query string returned includes the leading question mark.
Exceptions
- InvalidOperationException
Thrown if the current credentials don't support creating a shared access signature.
SetPermissions(TablePermissions, TableRequestOptions, OperationContext)
Sets the permissions settings for the table.
[DoesServiceRequest]
public virtual void SetPermissions(TablePermissions permissions, TableRequestOptions requestOptions = null, OperationContext operationContext = null)
Parameters
permissions
TablePermissionsA TablePermissions object that represents the permissions to set.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
SetPermissionsAsync(TablePermissions)
Initiates an asynchronous operation to set permissions for the table.
[DoesServiceRequest]
public virtual Task SetPermissionsAsync(TablePermissions permissions)
Parameters
permissions
TablePermissionsA TablePermissions object that represents the permissions to set.
Returns
SetPermissionsAsync(TablePermissions, TableRequestOptions, OperationContext)
Initiates an asynchronous operation to set permissions for the table.
[DoesServiceRequest]
public virtual Task SetPermissionsAsync(TablePermissions permissions, TableRequestOptions requestOptions, OperationContext operationContext)
Parameters
permissions
TablePermissionsA TablePermissions object that represents the permissions to set.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
Returns
SetPermissionsAsync(TablePermissions, TableRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to set permissions for the table.
[DoesServiceRequest]
public virtual Task SetPermissionsAsync(TablePermissions permissions, TableRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Parameters
permissions
TablePermissionsA TablePermissions object that represents the permissions to set.
requestOptions
TableRequestOptionsA TableRequestOptions object that specifies additional options for the request.
operationContext
OperationContextAn OperationContext object that represents the context for the current operation.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
SetPermissionsAsync(TablePermissions, CancellationToken)
Initiates an asynchronous operation to set permissions for the table.
[DoesServiceRequest]
public virtual Task SetPermissionsAsync(TablePermissions permissions, CancellationToken cancellationToken)
Parameters
permissions
TablePermissionsA TablePermissions object that represents the permissions to set.
cancellationToken
CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Returns
ToString()
Returns the name of the table.
public override string ToString()
Returns
- string
A string containing the name of the table.