Share via


DataServiceActionQuerySingle<T>.GetValueAsync Method

Definition

Overloads

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.

GetValueAsync()

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

public System.Threading.Tasks.Task<T> GetValueAsync ();
member this.GetValueAsync : unit -> System.Threading.Tasks.Task<'T>
Public Function GetValueAsync () As Task(Of T)

Returns

Task<T>

A task represents the result of the operation.

Applies to

GetValueAsync(CancellationToken)

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

public System.Threading.Tasks.Task<T> GetValueAsync (System.Threading.CancellationToken cancellationToken);
member this.GetValueAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
Public Function GetValueAsync (cancellationToken As CancellationToken) As Task(Of T)

Parameters

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

Returns

Task<T>

A task represents the result of the operation.

Applies to