public async void OnConnectionAttemptFailed(RpcConnectionAttemptFailedException exception) { await RunAsync(() => { Messages.Add($"Client tried to connect but failed: {exception.RemoteHostName}:{exception.RemotePort}"); }); }
public async void OnConnectionAttemptFailed(RpcConnectionAttemptFailedException exception) { await RunAsync(async() => { Messages.Add($"Failed to connect to {exception.RemoteHostName}:{exception.RemotePort}"); await Task.Delay(2000); if (_frame.CanGoBack) { _frame.GoBack(); } }); }
public void OnConnectionAttemptFailed(RpcConnectionAttemptFailedException exception) { }