Adds a table operation that retrieves an entity with the specified partition key and row key to the batch operation.
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
Dim resolver As EntityResolver(Of TResult)
instance.Retrieve(partitionKey, rowkey, resolver) |
Syntax
Visual Basic |
---|
Public Sub Retrieve(Of TResult) ( _
partitionKey As String, _
rowkey As String, _
resolver As EntityResolver(Of TResult) _
) |
C# |
---|
public void Retrieve<TResult> (
string partitionKey,
string rowkey,
EntityResolver<TResult> resolver
) |
C++ |
---|
public:
generic<typename TResult>
void Retrieve (
String^ partitionKey,
String^ rowkey,
EntityResolver<TResult>^ resolver
) |
GenericParameters
- TResult
The return type which the specified EntityResolver will resolve the given entity to.
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.
- resolver
The EntityResolver implementation to project the entity to retrieve as a particular type in the result.
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
See Also