From 1a3900b25980fc9b46230893dc2d5f854ee58bed Mon Sep 17 00:00:00 2001 From: Stijn Moreels <9039753+stijnmoreels@users.noreply.github.com> Date: Fri, 8 Jul 2022 11:42:01 +0200 Subject: [PATCH] fix: use correct deprecation az servicebus messages (#427) --- .../Extensions/ILoggerServiceBusDependencyExtensions.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Arcus.Observability.Telemetry.Core/Extensions/ILoggerServiceBusDependencyExtensions.cs b/src/Arcus.Observability.Telemetry.Core/Extensions/ILoggerServiceBusDependencyExtensions.cs index 4e53302b..0066f39c 100644 --- a/src/Arcus.Observability.Telemetry.Core/Extensions/ILoggerServiceBusDependencyExtensions.cs +++ b/src/Arcus.Observability.Telemetry.Core/Extensions/ILoggerServiceBusDependencyExtensions.cs @@ -185,7 +185,7 @@ public static void LogServiceBusTopicDependency( /// The context that provides more insights on the dependency that was measured. /// Thrown when the or is null. /// Thrown when the is blank. - [Obsolete("Use the " + nameof(LogServiceBusQueueDependency) + " method overload with an Azure Service Bus namespace endpoint instead")] + [Obsolete("Use the " + nameof(LogServiceBusTopicDependency) + " method overload with an Azure Service Bus namespace endpoint instead")] public static void LogServiceBusTopicDependency( this ILogger logger, string topicName, @@ -241,7 +241,7 @@ public static void LogServiceBusTopicDependency( /// Thrown when the is null. /// Thrown when the is blank. /// Thrown when the is a negative time range. - [Obsolete("Use the " + nameof(LogServiceBusQueueDependency) + " method overload with an Azure Service Bus namespace endpoint instead")] + [Obsolete("Use the " + nameof(LogServiceBusTopicDependency) + " method overload with an Azure Service Bus namespace endpoint instead")] public static void LogServiceBusTopicDependency( this ILogger logger, string topicName, @@ -327,7 +327,7 @@ public static void LogServiceBusDependency( /// The context that provides more insights on the dependency that was measured. /// Thrown when the or is null. /// Thrown when the is blank. - [Obsolete("Use the " + nameof(LogServiceBusQueueDependency) + " method overload with an Azure Service Bus namespace endpoint instead")] + [Obsolete("Use the " + nameof(LogServiceBusDependency) + " method overload with an Azure Service Bus namespace endpoint instead")] public static void LogServiceBusDependency( this ILogger logger, string entityName, @@ -387,7 +387,7 @@ public static void LogServiceBusDependency( /// Thrown when the is null. /// Thrown when the is blank. /// Thrown when the is a negative time range. - [Obsolete("Use the " + nameof(LogServiceBusQueueDependency) + " method overload with an Azure Service Bus namespace endpoint instead")] + [Obsolete("Use the " + nameof(LogServiceBusDependency) + " method overload with an Azure Service Bus namespace endpoint instead")] public static void LogServiceBusDependency( this ILogger logger, string entityName,