Пример #1
0
 public void CancelPlace(Transaction tran, CancelReason cancelReason, Action<Transaction,TransactionError> EndCancelPlace)
 {
     this._ServiceProxy.BeginCancelPlace(tran.Id, cancelReason, delegate(IAsyncResult result)
     {
         TransactionError transactionError = this._ServiceProxy.EndCancelPlace(result);
         EndCancelPlace(tran,transactionError);
     }, null);
 }
Пример #2
0
 public void Cancel(Transaction tran, CancelReason cancelReason, LogOrder logEntity, Action<Transaction, TransactionError> EndCancel)
 {
     this._ServiceProxy.BeginCancel(tran.Id, cancelReason, logEntity, delegate(IAsyncResult result)
     {
         TransactionError transactionError = this._ServiceProxy.EndCancel(result);
         EndCancel(tran, transactionError);
     }, null);
 }