System.Transactions.EnlistmentStatePromoted.InDoubt C# (CSharp) Method

InDoubt() private method

private InDoubt ( InternalEnlistment enlistment, Exception e ) : void
enlistment InternalEnlistment
e Exception
return void
        internal override void InDoubt(InternalEnlistment enlistment, Exception e)
        {
            Monitor.Exit(enlistment.SyncRoot);
            try
            {
                enlistment.PromotedEnlistment.InDoubt(e);
            }
            finally
            {
                Monitor.Enter(enlistment.SyncRoot);
            }
        }