private async void ClearButton_Click(object sender, RoutedEventArgs e) { try { var result = comms.ClearAsync();; debugCommand("Clear", result); } catch (Exception ex) { this.Log($"Clear Error: {ex.Message}"); } }