From c3fb40077e1c3a9091e6dbf34b612a99ebfaa01b Mon Sep 17 00:00:00 2001 From: "David R. Williamson" Date: Fri, 9 Jul 2021 13:45:59 -0700 Subject: [PATCH] Fix deprecation messages. --- iothub/service/src/Common/Exceptions/ErrorCode.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iothub/service/src/Common/Exceptions/ErrorCode.cs b/iothub/service/src/Common/Exceptions/ErrorCode.cs index af00d47cbd..619c781e59 100644 --- a/iothub/service/src/Common/Exceptions/ErrorCode.cs +++ b/iothub/service/src/Common/Exceptions/ErrorCode.cs @@ -31,7 +31,7 @@ public enum ErrorCode /// As this error is in the 4xx HTTP status code range, the service would have detected a problem with the blob container /// URI, such as does not exist, insufficient permissions, or SAS token expiry exceeded. /// - [Obsolete("This error does not appear to be thrown by the service.")] + [Obsolete("This error does not appear to be returned by the service.")] [EditorBrowsable(EditorBrowsableState.Never)] BlobContainerValidationError = 400008, @@ -47,8 +47,8 @@ public enum ErrorCode /// As this error is in the 4xx HTTP status code range, the service would have detected a problem with the job /// request or user input. /// - [Obsolete("This error does not appear to be thrown by the service.")] - [EditorBrowsable(EditorBrowsableState.Never)] + //[Obsolete("This error does not appear to be returned by the service.")] + //[EditorBrowsable(EditorBrowsableState.Never)] BulkRegistryOperationFailure = 400013, CannotRegisterModuleToModule = 400301, @@ -75,7 +75,7 @@ public enum ErrorCode /// /// The IoT Hub has exceeded the available quota for active jobs. /// - [Obsolete("This error does not appear to be thrown by the service, and would not apply to a device anyway.")] + [Obsolete("This error does not appear to be returned by the service.")] [EditorBrowsable(EditorBrowsableState.Never)] JobQuotaExceeded = 403003,