mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
18 lines
429 B
C#
18 lines
429 B
C#
using System;
|
|
|
|
namespace MQTTnet.Client.Disconnecting
|
|
{
|
|
public class MqttClientDisconnectedEventArgs : EventArgs
|
|
{
|
|
public MqttClientDisconnectedEventArgs(bool clientWasConnected, Exception exception)
|
|
{
|
|
ClientWasConnected = clientWasConnected;
|
|
Exception = exception;
|
|
}
|
|
|
|
public bool ClientWasConnected { get; }
|
|
|
|
public Exception Exception { get; }
|
|
}
|
|
}
|