, 2015 at 8:43 PM, Ron Grabowski
wrote:
> Do you get the same error when you use LogicalThreadContext?
>
> --
> *From:* Ílson Bolzan
> *To:* Log4NET User
> *Sent:* Wednesday, August 26, 2015 1:18 PM
> *Subject:* Problems with ThreadContext and Tra
Do you get the same error when you use LogicalThreadContext?
From: Ílson Bolzan
To: Log4NET User
Sent: Wednesday, August 26, 2015 1:18 PM
Subject: Problems with ThreadContext and TransactionScope
Has anyone tried to stack contexts and use Transaction scope at the same time?
I
Has anyone tried to stack contexts and use Transaction scope at the same
time?
I'm trying something like this:
using (log4net.ThreadContext.Stacks["contextLog"].Push("Saving Data")){
log.Info("Starting transaction");
using (var ts = new TransactionScope(TransactionScopeOption.Requ