public void EndOperation(TelemetryScope <OperationEvent> operation, TelemetryResult telemetryResult) { #if DEBUG _ = WriteTelemetryEventToOutputWindowAsync(operation.EndEvent, "Ended Operation"); #endif operation.End(telemetryResult); }
public void EndUserTask(TelemetryScope <UserTaskEvent> userTask, TelemetryResult telemetryResult) { #if DEBUG _ = WriteTelemetryEventToOutputWindowAsync(userTask.EndEvent, "Ended User Task"); #endif userTask.End(telemetryResult); }
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; }