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