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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.