Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Ends an asynchronous query request to a data service.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public Function EndExecute ( _
asyncResult As IAsyncResult _
) As IEnumerable(Of TElement)
'Usage
Dim instance As DataServiceQuery
Dim asyncResult As IAsyncResult
Dim returnValue As IEnumerable(Of TElement)
returnValue = instance.EndExecute(asyncResult)
public IEnumerable<TElement> EndExecute(
IAsyncResult asyncResult
)
public:
IEnumerable<TElement>^ EndExecute(
IAsyncResult^ asyncResult
)
member EndExecute :
asyncResult:IAsyncResult -> IEnumerable<'TElement>
public function EndExecute(
asyncResult : IAsyncResult
) : IEnumerable<TElement>
Parameters
- asyncResult
Type: System.IAsyncResult
The pending asynchronous query request.
Return Value
Type: System.Collections.Generic.IEnumerable<TElement>
Returns an IEnumerable<T> that contains the results of the query operation.
Exceptions
Exception | Condition |
---|---|
DataServiceQueryException | When the data service returns an HTTP 404: Resource Not Found error. |