Transaction tx;
IEnlistmentNotification enlisted;
WaitHandle waitHandle;
+ Exception ex;
internal PreparingEnlistment (Transaction tx, IEnlistmentNotification enlisted)
{
{
get { return enlisted; }
}
+
+ // Uncatched exceptions thrown during prepare will
+ // be saved here so they can be retrieved by TM.
+ internal Exception Exception
+ {
+ get { return ex; }
+ set { ex = value; }
+ }
}
}