Exemplo n.º 1
0
 public ITelemetryScope StartOperation(TelemetryIdentifier telemetryIdentifier, ITelemetryScope parentScope)
 {
     return(new VSTelemetryScope <OperationEvent>(TelemetrySessionExtensions.StartOperation(defaultSession, telemetryIdentifier.Value), telemetryIdentifier, this, parentScope));
 }
Exemplo n.º 2
0
 public ITelemetryScope StartOperation(TelemetryIdentifier telemetryIdentifier, IEnumerable <DataPoint> properties, ITelemetryScope parentScope)
 {
     return(new VSTelemetryScope <OperationEvent>(TelemetrySessionExtensions.StartOperation(defaultSession, telemetryIdentifier.Value, (TelemetrySeverity)0, (IDictionary <string, object>)properties.ToDictionary((DataPoint dataPoint) => dataPoint.Identity.Value, (DataPoint dataPoint) => dataPoint.Value)), telemetryIdentifier, this, parentScope));
 }
Exemplo n.º 3
0
 public ITelemetryScope StartUserTask(TelemetryIdentifier telemetryIdentifier)
 {
     return(new VSTelemetryScope <UserTaskEvent>(TelemetrySessionExtensions.StartUserTask(defaultSession, telemetryIdentifier.Value), telemetryIdentifier, this));
 }