Skip to content

Commit ee36b2b

Browse files
committed
revert part of change
1 parent 68eb618 commit ee36b2b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/azure-monitor/app/api-custom-events-metrics.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ If you use AzureFunctions v2+ or Azure WebJobs v3+ - follow this document: https
5959
*C#*
6060

6161
```csharp
62-
TelemetryConfiguration telemetry = TelemetryConfiguration.CreateDefault();
63-
var TelemetryClient = new TelemetryClient(telemetry);
62+
private TelemetryClient telemetry = new TelemetryClient();
6463
```
65-
For anyone using the now obsolete method please visit [microsoft/ApplicationInsights-dotnet#1152](https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152) for further details.
64+
For anyone seeing this method is obsolete messages please visit [microsoft/ApplicationInsights-dotnet#1152](https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152) for further details.
6665

6766
*Visual Basic*
6867

0 commit comments

Comments
 (0)