Udostępnij za pośrednictwem


IMobileServiceTable<T>.LookupAsync Method

Definition

Overloads

LookupAsync(Object)

Lookup an instance from a table by its id.

LookupAsync(Object, IDictionary<String,String>)

Lookup an instance from a table by its id.

LookupAsync(Object)

Lookup an instance from a table by its id.

public System.Threading.Tasks.Task<T> LookupAsync (object id);
abstract member LookupAsync : obj -> System.Threading.Tasks.Task<'T>
Public Function LookupAsync (id As Object) As Task(Of T)

Parameters

id
Object

The id of the instance.

Returns

Task<T>

The desired instance.

Applies to

LookupAsync(Object, IDictionary<String,String>)

Lookup an instance from a table by its id.

public System.Threading.Tasks.Task<T> LookupAsync (object id, System.Collections.Generic.IDictionary<string,string> parameters);
abstract member LookupAsync : obj * System.Collections.Generic.IDictionary<string, string> -> System.Threading.Tasks.Task<'T>
Public Function LookupAsync (id As Object, parameters As IDictionary(Of String, String)) As Task(Of T)

Parameters

id
Object

The id of the instance.

parameters
IDictionary<String,String>

A dictionary of user-defined parameters and values to include in the request URI query string.

Returns

Task<T>

The desired instance.

Applies to