예제 #1
0
 private static bool HandleEndHostClose(IAsyncResult result)
 {
     WorkflowServiceHost.CloseAsyncResult asyncState = (WorkflowServiceHost.CloseAsyncResult)result.AsyncState;
     asyncState.host.EndHostClose(result);
     return(asyncState.CloseDurableInstanceManager());
 }
예제 #2
0
 private static bool HandleDurableInstanceManagerEndClose(IAsyncResult result)
 {
     WorkflowServiceHost.CloseAsyncResult asyncState = (WorkflowServiceHost.CloseAsyncResult)result.AsyncState;
     asyncState.host.durableInstanceManager.EndClose(result);
     return(true);
 }