private void TransactionReplyCallback(
            Int32 transactionResult,
            Int32 transactionExtendedErrorCode,
            Int32 transactionReplyCode,
            UInt32 transId,
            Double orderNum,
            [MarshalAs(UnmanagedType.LPStr)] string transactionReplyMessage)
        {
            var res = new TransactionCallResult(
                new ReturnValue(transactionResult),
                transactionExtendedErrorCode,
                string.Empty,
                transactionReplyCode,
                transId,
                orderNum,
                transactionReplyMessage);

            this.OnTransactionReply(new TransactionEventArgs(res));
        }
Example #2
0
 public TransactionEventArgs(TransactionCallResult transactionResult)
 {
     this.TransactionResult = transactionResult;
 }