public virtual TransactionStatus check(Message msg)
        {
            var ret = (TransactionStatus)ONSClient4CPPPINVOKE.LocalTransactionChecker_check(swigCPtr, Message.getCPtr(msg));

            if (ONSClient4CPPPINVOKE.SWIGPendingException.Pending)
            {
                throw ONSClient4CPPPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }