Share via


WillMessage Class

Definition

An MQTT "will" message, used when a client disconnects

public class WillMessage : Microsoft.Azure.Devices.Client.Transport.Mqtt.IWillMessage
type WillMessage = class
    interface IWillMessage
Public Class WillMessage
Implements IWillMessage
Inheritance
WillMessage
Implements

Constructors

WillMessage(QualityOfService, Message)

Creates an instance of WillMessage

Properties

Message

The message to be sent

QoS

An agreement between the sender of a message and the receiver of a message that defines the guarantee of delivery for a specific message

Applies to