microsoft / ApplicationInsights-SDK-Labs

Application Insights experimental projects repository
MIT License
61 stars 48 forks source link

WCF with AI SDK 2.2 uses some obsolete properties #82

Closed SergeyKanzhelev closed 7 years ago

SergeyKanzhelev commented 7 years ago

@tomasr some of the properties got obsolete in 2.2. This needs to be fixed:

WCF\Shared\RequestTrackingTelemetryModule.cs(47):WCF\Shared\RequestTrackingTelemetryModule.cs(47,17): Error CS0618: 'RequestTelemetry.HttpMethod' is obsolete: 'Include http verb into request telemetry name and use custom properties to report http method as a dimension.'
WCF\Shared\ExceptionTrackingTelemetryModule.cs(52):WCF\Shared\ExceptionTrackingTelemetryModule.cs(52,17): Error CS0618: 'ExceptionTelemetry.HandledAt' is obsolete: 'Use custom properties to report exception handling layer'
WCF\Shared\ExceptionTrackingTelemetryModule.cs(52):WCF\Shared\ExceptionTrackingTelemetryModule.cs(52,39): Error CS0618: 'ExceptionHandledAt' is obsolete: 'Use custom properties to report exception handling layer'
WCF\Shared\ExceptionTrackingTelemetryModule.cs(56):WCF\Shared\ExceptionTrackingTelemetryModule.cs(56,17): Error CS0618: 'ExceptionTelemetry.HandledAt' is obsolete: 'Use custom properties to report exception handling layer'
WCF\Shared\ExceptionTrackingTelemetryModule.cs(56):WCF\Shared\ExceptionTrackingTelemetryModule.cs(56,39): Error CS0618: 'ExceptionHandledAt' is obsolete: 'Use custom properties to report exception handling layer'
WCF\Shared\RequestTrackingTelemetryModule.cs(47):WCF\Shared\RequestTrackingTelemetryModule.cs(47,17): Error CS0618: 'RequestTelemetry.HttpMethod' is obsolete: 'Include http verb into request telemetry name and use custom properties to report http method as a dimension.'
WCF\Shared\ExceptionTrackingTelemetryModule.cs(52):WCF\Shared\ExceptionTrackingTelemetryModule.cs(52,17): Error CS0618: 'ExceptionTelemetry.HandledAt' is obsolete: 'Use custom properties to report exception handling layer'
WCF\Shared\ExceptionTrackingTelemetryModule.cs(52):WCF\Shared\ExceptionTrackingTelemetryModule.cs(52,39): Error CS0618: 'ExceptionHandledAt' is obsolete: 'Use custom properties to report exception handling layer'
WCF\Shared\ExceptionTrackingTelemetryModule.cs(56):WCF\Shared\ExceptionTrackingTelemetryModule.cs(56,17): Error CS0618: 'ExceptionTelemetry.HandledAt' is obsolete: 'Use custom properties to report exception handling layer'
WCF\Shared\ExceptionTrackingTelemetryModule.cs(56):WCF\Shared\ExceptionTrackingTelemetryModule.cs(56,39): Error CS0618: 'ExceptionHandledAt' is obsolete: 'Use custom properties to report exception handling layer'