From 09103cb02ecea9d0b4dec088ce02ed133f851db6 Mon Sep 17 00:00:00 2001 From: brycewang-microsoft <94650966+brycewang-microsoft@users.noreply.github.com> Date: Tue, 21 Mar 2023 13:11:33 -0700 Subject: [PATCH] Drop dependency on the hub service client from the device client (#3178) --- iothub/device/src/IotHubClientOptions.cs | 2 +- iothub/device/src/Microsoft.Azure.Devices.Client.csproj | 6 +----- iothub/service/src/Messaging/Models/OutgoingMessage.cs | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/iothub/device/src/IotHubClientOptions.cs b/iothub/device/src/IotHubClientOptions.cs index 3da45d6d40..14947b8848 100644 --- a/iothub/device/src/IotHubClientOptions.cs +++ b/iothub/device/src/IotHubClientOptions.cs @@ -70,7 +70,7 @@ public IotHubClientOptions(IotHubClientTransportSettings transportSettings) public string ModelId { get; set; } /// - /// The configuration for setting for every message sent by the device or module client instance. + /// The configuration for setting for every message sent by the device or module client instance. /// /// /// The default behavior is that a message Id is sent only if set by the user. diff --git a/iothub/device/src/Microsoft.Azure.Devices.Client.csproj b/iothub/device/src/Microsoft.Azure.Devices.Client.csproj index 966476069d..8b3960990f 100644 --- a/iothub/device/src/Microsoft.Azure.Devices.Client.csproj +++ b/iothub/device/src/Microsoft.Azure.Devices.Client.csproj @@ -55,13 +55,9 @@ - - - - - + diff --git a/iothub/service/src/Messaging/Models/OutgoingMessage.cs b/iothub/service/src/Messaging/Models/OutgoingMessage.cs index 9a637a96d2..d2d9e44670 100644 --- a/iothub/service/src/Messaging/Models/OutgoingMessage.cs +++ b/iothub/service/src/Messaging/Models/OutgoingMessage.cs @@ -22,7 +22,7 @@ public OutgoingMessage() } /// - /// Creates a telemetry message with the specified payload. + /// Creates a cloud-to-device message with the specified payload. /// /// User should treat the input byte array as immutable when sending the message. /// The payload will be serialized with