public IAsyncResult BeginOrderRequest(AsyncCallback callback, object asyncState) { var meridianAsyncResult = new MeridianAsyncResult(OperationContext.Current, callback, asyncState); ThreadPool.QueueUserWorkItem(CompleteElectroluxProcess, meridianAsyncResult); return(meridianAsyncResult); }
/// <summary> /// To get transportion data /// </summary> /// <param name="callback"> delegate that references a method that is called when the asynchronous operation completes </param> /// <param name="asyncState">user-defined object can be used to pass application-specific state information to the method invoked when the asynchronous operation completes </param> public IAsyncResult BeginSubmitDocument(AsyncCallback callback, object asyncState) { var meridianAsyncResult = new MeridianAsyncResult(OperationContext.Current, callback, asyncState); ThreadPool.QueueUserWorkItem(CompleteProcess, meridianAsyncResult); return(meridianAsyncResult); }
/// <summary> /// To get transportion data /// </summary> /// <param name="callback"> delegate that references a method that is called when the asynchronous operation completes </param> /// <param name="asyncState">user-defined object can be used to pass application-specific state information to the method invoked when the asynchronous operation completes </param> public IAsyncResult BeginShippingScheduleResponse(AsyncCallback callback, object asyncState) { var meridianAsyncResult = new MeridianAsyncResult(OperationContext.Current, callback, asyncState); ThreadPool.QueueUserWorkItem(CompleteShippingScheduleResponseProcess, meridianAsyncResult); return(meridianAsyncResult); }
/// <summary> /// To get transportion data /// </summary> /// <param name="callback"> delegate that references a method that is called when the asynchronous operation completes </param> /// <param name="asyncState">user-defined object can be used to pass application-specific state information to the method invoked when the asynchronous operation completes </param> public IAsyncResult BeginRequisition(AsyncCallback callback, object asyncState) { var meridianAsyncResult = new MeridianAsyncResult(OperationContext.Current, callback, asyncState); ThreadPool.QueueUserWorkItem(CompleteRequisitionProcess, meridianAsyncResult); return meridianAsyncResult; }