TableOperation.Retrieve Method (String, String, EntityResolver)

Windows Runtime Azure Storage Client Library

Creates a new table operation that retrieves the contents of the given entity in a table.

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

Usage

Visual Basic
Dim partitionKey As String
Dim rowkey As String
Dim resolver As EntityResolver(Of TResult)
Dim returnValue As TableOperation

returnValue = TableOperation.Retrieve(partitionKey, rowkey, resolver)

Syntax

Visual Basic
Public Shared Function Retrieve(Of TResult) ( _
	partitionKey As String, _
	rowkey As String, _
	resolver As EntityResolver(Of TResult) _
) As TableOperation
C#
public static TableOperation Retrieve<TResult> (
	string partitionKey,
	string rowkey,
	EntityResolver<TResult> resolver
)
C++
public:
generic<typename TResult>
static TableOperation^ Retrieve (
	String^ partitionKey, 
	String^ rowkey, 
	EntityResolver<TResult>^ resolver
)
J#
JScript

GenericParameters

TResult

The return type which the specified EntityResolver will resolve the given entity to.

Parameters

partitionKey

A string containing the partition key of the entity to retrieve.

rowkey

A string containing the row key of the entity to retrieve.

resolver

The EntityResolver implementation to project the entity to retrieve as a particular type in the result.

Return Value

The TableOperation object.

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