TableBatchOperation.Retrieve Method (String, String)

Windows Runtime Azure Storage Client Library

Adds a table operation that retrieves an entity with the specified partition key and row key to the batch operation. The entity will be deserialized into the specified class type which extends ITableEntity.

Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As TableBatchOperation
Dim partitionKey As String
Dim rowkey As String

instance.Retrieve(partitionKey, rowkey)

Syntax

Visual Basic
Public Sub Retrieve(Of TElement As ITableEntity) ( _
	partitionKey As String, _
	rowkey As String _
)
C#
public void Retrieve<TElement> (
	string partitionKey,
	string rowkey
) where TElement : ITableEntity
C++
public:
generic<typename TElement> where TElement : ITableEntity
void Retrieve (
	String^ partitionKey, 
	String^ rowkey
)
J#
JScript

GenericParameters

TElement

The class of type for the entity to retrieve.

Parameters

batch

The input TableBatchOperation, which acts as the this instance for the extension method.

partitionKey

A string containing the partition key of the entity to be retrieved.

rowkey

A string containing the row key of the entity to be retrieved.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also