Example #1
0
        public IAsyncResult BeginOrderRequest(AsyncCallback callback, object asyncState)
        {
            var meridianAsyncResult = new MeridianAsyncResult(OperationContext.Current, callback, asyncState);

            ThreadPool.QueueUserWorkItem(CompleteElectroluxProcess, meridianAsyncResult);
            return(meridianAsyncResult);
        }
Example #2
0
        /// <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);
        }
Example #3
0
        /// <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);
        }
Example #4
0
 /// <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;
 }