private static void Client_ConnectingFailed(object sender, MqttManagedProcessFailedEventArgs e) { Console.WriteLine(e.Exception); }
private void _client_OnConnectingFailed(object sender, MqttManagedProcessFailedEventArgs e) { IsConnectedToBroker = false; OnConnectionFailed(this, new ConnectionFailedEventArgs(ClientId)); }