Esempio n. 1
0
 public IEnumerable <TElement> EndExecute(IAsyncResult asyncResult)
 {
     return(DataServiceRequest.EndExecute <TElement>(this, this.queryProvider.Context, "Execute", asyncResult));
 }
Esempio n. 2
0
 /// <summary>Ends an asynchronous query request to a data service.</summary>
 /// <returns>Returns an <see cref="T:System.Collections.Generic.IEnumerable`1" />  that contains the results of the query operation.</returns>
 /// <param name="asyncResult">The pending asynchronous query request.</param>
 /// <exception cref="T:System.Data.Services.Client.DataServiceQueryException">When the data service returns an HTTP 404: Resource Not Found error.</exception>
 public new IEnumerable <TElement> EndExecute(IAsyncResult asyncResult)
 {
     return(DataServiceRequest.EndExecute <TElement>(this, this.Context, Util.ExecuteMethodName, asyncResult));
 }