3 types derived from BaseAsyncResult
System.Data.Services.Client (3)
System\Data\Services\Client\DataServiceContext.cs (1)
4041
private class SaveResult :
BaseAsyncResult
System\Data\Services\Client\GetReadStreamResult.cs (1)
25
internal class GetReadStreamResult :
BaseAsyncResult
System\Data\Services\Client\QueryResult.cs (1)
26
internal class QueryResult :
BaseAsyncResult
22 references to BaseAsyncResult
System.Data.Services.Client (22)
System\Data\Services\Client\BaseAsyncResult.cs (3)
207
internal static T EndExecute<T>(object source, string method, IAsyncResult asyncResult) where T :
BaseAsyncResult
295
IAsyncResult asyncResult = asyncAction(
BaseAsyncResult
.GetDataServiceAsyncCallback(callback), state);
318
IAsyncResult asyncResult = asyncAction(buffer, offset, length,
BaseAsyncResult
.GetDataServiceAsyncCallback(callback), state);
System\Data\Services\Client\DataServiceContext.cs (15)
527
BaseAsyncResult
result = asyncResult as
BaseAsyncResult
;
809
GetReadStreamResult result =
BaseAsyncResult
.EndExecute<GetReadStreamResult>(this, "GetReadStream", asyncResult);
980
SaveResult result =
BaseAsyncResult
.EndExecute<SaveResult>(this, "ExecuteBatch", asyncResult);
1132
SaveResult result =
BaseAsyncResult
.EndExecute<SaveResult>(this, "SaveChanges", asyncResult);
4249
IAsyncResult asyncResult =
BaseAsyncResult
.InvokeAsync(httpWebRequest.BeginGetRequestStream, this.AsyncEndGetRequestStream, pereq);
4351
asyncResult =
BaseAsyncResult
.InvokeAsync(httpWebRequest.BeginGetResponse, this.AsyncEndGetResponse, pereq);
4361
asyncResult =
BaseAsyncResult
.InvokeAsync(httpWebRequest.BeginGetRequestStream, this.AsyncEndGetRequestStream, pereq);
5754
asyncResult =
BaseAsyncResult
.InvokeAsync(contentStream.Stream.BeginRead, pereq.RequestContentBuffer, 0, pereq.RequestContentBuffer.Length, this.AsyncRequestContentEndRead, pereq);
5805
asyncResult =
BaseAsyncResult
.InvokeAsync(stream.BeginWrite, pereq.RequestContentBuffer, 0, pereq.RequestContentBufferValidLength, this.AsyncEndWrite, pereq);
5814
asyncResult =
BaseAsyncResult
.InvokeAsync(contentStream.Stream.BeginRead, pereq.RequestContentBuffer, 0, pereq.RequestContentBuffer.Length, this.AsyncRequestContentEndRead, pereq);
5835
asyncResult =
BaseAsyncResult
.InvokeAsync(httpWebRequest.BeginGetResponse, this.AsyncEndGetResponse, pereq);
5882
asyncResult =
BaseAsyncResult
.InvokeAsync(contentStream.Stream.BeginRead, pereq.RequestContentBuffer, 0, pereq.RequestContentBuffer.Length, this.AsyncRequestContentEndRead, pereq);
5956
asyncResult =
BaseAsyncResult
.InvokeAsync(stream.BeginRead, this.buildBatchBuffer, 0, this.buildBatchBuffer.Length, this.AsyncEndRead, pereq);
6014
asyncResult =
BaseAsyncResult
.InvokeAsync(stream.BeginRead, this.buildBatchBuffer, 0, this.buildBatchBuffer.Length, this.AsyncEndRead, pereq);
System\Data\Services\Client\GetReadStreamResult.cs (1)
62
asyncResult =
BaseAsyncResult
.InvokeAsync(this.request.BeginGetResponse, GetReadStreamResult.AsyncEndGetResponse, this);
System\Data\Services\Client\QueryResult.cs (3)
133
response =
BaseAsyncResult
.EndExecute<QueryResult>(source, "Execute", asyncResult);
177
asyncResult =
BaseAsyncResult
.InvokeAsync(this.Request.BeginGetResponse, QueryResult.AsyncEndGetResponse, this);
637
asyncResult =
BaseAsyncResult
.InvokeAsync(stream.BeginRead, buffer, bufferOffset, bufferLength, QueryResult.AsyncEndRead, queryResult);