public Context(DefaultMessageManager manager, String domain) { _mManager = manager; _mTree = new DefaultMessageTree(); _mStack = new Stack <ITransaction>(); Thread thread = Thread.CurrentThread; String groupName = Thread.CurrentThread.Name; _mTree.ThreadGroupName = groupName; _mTree.ThreadId = thread.ManagedThreadId.ToString(); _mTree.ThreadName = thread.Name; _mTree.Domain = domain; // _mTree.HostName = hostName; // _mTree.IpAddress = ipAddress; _mLength = 1; _mKnownExceptions = new HashSet <Exception>(); }
public TransactionHelper(DefaultMessageManager manager) { _mManager = manager; }