コード例 #1
0
 public async void OnConnectionAttemptFailed(RpcConnectionAttemptFailedException exception)
 {
     await RunAsync(() =>
     {
         Messages.Add($"Client tried to connect but failed: {exception.RemoteHostName}:{exception.RemotePort}");
     });
 }
コード例 #2
0
 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();
         }
     });
 }
コード例 #3
0
 public void OnConnectionAttemptFailed(RpcConnectionAttemptFailedException exception)
 {
 }