Share via


DataServiceActionQuerySingle<T> Class

Definition

Object of an action which returns a single item.

public sealed class DataServiceActionQuerySingle<T>
type DataServiceActionQuerySingle<'T> = class
Public NotInheritable Class DataServiceActionQuerySingle(Of T)

Type Parameters

T

Type of object to materialize.

Inheritance
DataServiceActionQuerySingle<T>

Constructors

DataServiceActionQuerySingle<T>(DataServiceContext, String, BodyOperationParameter[])

Object of an action which returns a single item.

Properties

RequestUri

The URI for this action.

Methods

BeginGetValue(AsyncCallback, Object)

Asynchronously sends a request to the data service to execute a specific URI.

EndGetValue(IAsyncResult)

Called to complete the BeginExecute(AsyncCallback, Object).

GetValue()

Executes the action and returns the result.

GetValueAsync()

Asynchronously sends the request so that this call does not block processing while waiting for the results from the service.

GetValueAsync(CancellationToken)

Asynchronously sends the request so that this call does not block processing while waiting for the results from the service.

Applies to