1 instantiation of ActivityInfo
mscorlib (1)
system\diagnostics\eventing\activitytracker.cs (1)
123
ActivityInfo newActivity = new
ActivityInfo
(fullActivityName, id, currentActivity, relatedActivityId, options);
24 references to ActivityInfo
mscorlib (24)
system\diagnostics\eventing\activitytracker.cs (24)
78
var
currentActivity = m_current.Value;
85
etwLog.DebugFacilityMessage("OnStartEnterActivityState",
ActivityInfo
.LiveActivities(currentActivity));
102
ActivityInfo
existingActivity = FindActiveActivity(fullActivityName, currentActivity);
123
ActivityInfo
newActivity = new ActivityInfo(fullActivityName, id, currentActivity, relatedActivityId, options);
131
etwLog.DebugFacilityMessage("OnStartRetActivityState",
ActivityInfo
.LiveActivities(newActivity));
153
etwLog.DebugFacilityMessage("OnStopEnterActivityState",
ActivityInfo
.LiveActivities(m_current.Value));
158
ActivityInfo
currentActivity = m_current.Value;
159
ActivityInfo
newCurrentActivity = null; // if we have seen any live activities (orphans), at he first one we have seen.
164
ActivityInfo
activityToStop = FindActiveActivity(fullActivityName, currentActivity);
179
ActivityInfo
orphan = currentActivity;
214
etwLog.DebugFacilityMessage("OnStopRetActivityState",
ActivityInfo
.LiveActivities(newCurrentActivity));
231
m_current = new AsyncLocal<
ActivityInfo
>(ActivityChanging);
251
private
ActivityInfo
FindActiveActivity(string name,
ActivityInfo
startLocation)
253
var
activity = startLocation;
293
public ActivityInfo(string name, long uniqueId,
ActivityInfo
creator, Guid activityIDToRestore, EventActivityOptions options)
314
public static string Path(
ActivityInfo
activityInfo)
329
public static string LiveActivities(
ActivityInfo
list)
405
for (
ActivityInfo
ancestor = m_creator; ancestor != null; ancestor = ancestor.m_creator)
546
readonly internal
ActivityInfo
m_creator; // My parent (creator). Forms the Path() for the activity.
554
void ActivityChanging(AsyncLocalValueChangedArgs<
ActivityInfo
> args)
556
ActivityInfo
cur = args.CurrentValue;
557
ActivityInfo
prev = args.PreviousValue;
598
AsyncLocal<
ActivityInfo
> m_current;