We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e6c87b commit 2c8f15dCopy full SHA for 2c8f15d
examples/BasicConsoleApp/Program.cs
@@ -61,7 +61,7 @@ internal class MyCustomTelemetryInitializer : ITelemetryInitializer
61
public void Initialize(ITelemetry telemetry)
62
{
63
// Replace with actual properties.
64
- (telemetry as ISupportProperties)?.Properties["MyCustomKey"] = "MyCustomValue";
+ (telemetry as ISupportProperties).Properties["MyCustomKey"] = "MyCustomValue";
65
}
66
67
0 commit comments