Exemple #1
0
        /// <summary>
        ///     Commit the transaction
        /// </summary>
        /// <exception cref="Win32Exception">
        ///     Commit failed.
        /// </exception>
        public void Commit()
        {
            bool committed = WindowsNative.CommitTransaction(this);

            //OnTransactionEnded(committed);
            if (!committed)
            {
                WindowsNative.HandleWindowsError();
            }
        }