Exemplo n.º 1
0
 /// <summary>
 /// Clears any context that might currently be assigned
 /// </summary>
 public static void Clear()
 {
     RebusHttpContext.Clear();
     RebusOperationContext.Clear();
     CallContext.FreeNamedDataSlot(TransactionContextKey);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Clears any context that might currently be assigned
 /// </summary>
 public static void Clear()
 {
     RebusHttpContext.Clear();
     RebusOperationContext.Clear();
     threadCurrent = null;
 }