MqttTransportSettings.WillMessage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The configured will message that is sent to the telemetry channel on an ungraceful disconnect.
public Microsoft.Azure.Devices.Client.Transport.Mqtt.IWillMessage WillMessage { get; set; }
member this.WillMessage : Microsoft.Azure.Devices.Client.Transport.Mqtt.IWillMessage with get, set
Public Property WillMessage As IWillMessage
Property Value
Remarks
The telemetry channel can be either the default Events endpoint or a custom endpoint defined by IoT hub routing. For more details, refer to https://docs.microsoft.com/azure/iot-hub/iot-hub-mqtt-support#using-the-mqtt-protocol-directly-as-a-device.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET