DataServiceActionQuerySingle<T>.GetValueAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
A task represents the result of the operation.