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

InDoubt() public method

public InDoubt ( System e ) : void
e System
return void
        public void InDoubt(System.Exception e)
        {
        }

Same methods

SinglePhaseEnlistment::InDoubt ( ) : void
SinglePhaseEnlistment::InDoubt ( Exception e ) : void

Usage Example

Example #1
0
        void ISinglePhaseNotificationInternal.SinglePhaseCommit(IPromotedEnlistment singlePhaseEnlistment)
        {
            bool spcCommitted = false;

            _promotedEnlistment = singlePhaseEnlistment;
            try
            {
                _singlePhaseNotifications.SinglePhaseCommit(SinglePhaseEnlistment);
                spcCommitted = true;
            }
            finally
            {
                if (!spcCommitted)
                {
                    SinglePhaseEnlistment.InDoubt();
                }
            }
        }
All Usage Examples Of System.Transactions.SinglePhaseEnlistment::InDoubt