Skip to content

Instantly share code, notes, and snippets.

@andreasohlund
Created September 13, 2013 10:40
Show Gist options
  • Save andreasohlund/6549118 to your computer and use it in GitHub Desktop.
Save andreasohlund/6549118 to your computer and use it in GitHub Desktop.
Possible_nh_3204_fix.cs
if (ex != null)
{
Transaction.Current.Rollback(ex);
while (Transaction.Current.TransactionInformation.Status != TransactionStatus.Aborted)
{
Thread.Sleep(20);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment