コード例 #1
0
 protected override SubmitCompletedResult EndSubmitCore(IAsyncResult asyncResult)
 {
     return(TaskExtensions.EndApm <SubmitCompletedResult>(asyncResult));
 }
コード例 #2
0
 protected override void CancelSubmitCore(IAsyncResult asyncResult)
 {
     TaskExtensions.CancelApm <SubmitCompletedResult>(asyncResult);
 }
コード例 #3
0
 protected override IAsyncResult BeginSubmitCore(EntityChangeSet changeSet, AsyncCallback callback, object userState)
 {
     return(TaskExtensions.BeginApm(ct => SubmitCoreAsync(changeSet, ct), callback, userState));
 }
コード例 #4
0
 protected override QueryCompletedResult EndQueryCore(IAsyncResult asyncResult)
 {
     return(TaskExtensions.EndApm <QueryCompletedResult>(asyncResult));
 }
コード例 #5
0
 protected override IAsyncResult BeginQueryCore(EntityQuery query, AsyncCallback callback, object userState)
 {
     return(TaskExtensions.BeginApm(ct => QueryCoreAsync(query, ct), callback, userState));
 }
コード例 #6
0
 protected override InvokeCompletedResult EndInvokeCore(IAsyncResult asyncResult)
 {
     return(TaskExtensions.EndApm <InvokeCompletedResult>(asyncResult));
 }
コード例 #7
0
 protected override IAsyncResult BeginInvokeCore(InvokeArgs invokeArgs, AsyncCallback callback, object userState)
 {
     return(TaskExtensions.BeginApm(ct => InvokeCoreAsync(invokeArgs, ct), callback, userState));
 }