Beispiel #1
0
    public void EndOperation(TelemetryScope <OperationEvent> operation, TelemetryResult telemetryResult)
    {
#if DEBUG
        _ = WriteTelemetryEventToOutputWindowAsync(operation.EndEvent, "Ended Operation");
#endif
        operation.End(telemetryResult);
    }
Beispiel #2
0
    public void EndUserTask(TelemetryScope <UserTaskEvent> userTask, TelemetryResult telemetryResult)
    {
#if DEBUG
        _ = WriteTelemetryEventToOutputWindowAsync(userTask.EndEvent, "Ended User Task");
#endif

        userTask.End(telemetryResult);
    }
Beispiel #3
0
 protected override void Dispose(bool disposing)
 {
     //IL_0019: Unknown result type (might be due to invalid IL or missing references)
     if (!disposed && disposing)
     {
         base.Dispose(disposing);
         telemetryScope.End(base.Result, (string)null);
     }
     disposed = true;
 }