Пример #1
0
 public ITelemetryScope StartUserTask(TelemetryIdentifier telemetryIdentifier, IEnumerable <DataPoint> properties, ITelemetryScope parentScope)
 {
     return(new VSTelemetryScope <UserTaskEvent>(TelemetrySessionExtensions.StartUserTask(defaultSession, telemetryIdentifier.Value, (TelemetrySeverity)0, (IDictionary <string, object>)properties.ToDictionary((DataPoint dataPoint) => dataPoint.Identity.Value, (DataPoint dataPoint) => dataPoint.Value)), telemetryIdentifier, this, parentScope));
 }
Пример #2
0
 public ITelemetryScope StartUserTask(TelemetryIdentifier telemetryIdentifier, ITelemetryScope parentScope)
 {
     return(new VSTelemetryScope <UserTaskEvent>(TelemetrySessionExtensions.StartUserTask(defaultSession, telemetryIdentifier.Value), telemetryIdentifier, this, parentScope));
 }