Exemplo n.º 1
0
            private async void OnConnectionFailureAsync(object sender, ConnectionTimeoutEventArgs args)
            {
                await WorkerClient.CloseAsync();

                HadConnectionFailure = true;
                m_shutdownTcs.TrySetResult(false);
            }
Exemplo n.º 2
0
 private async void OnConnectionFailureAsync(object sender, ConnectionTimeoutEventArgs args)
 {
     ClientConnectionFailure = true;
     await Client.CloseAsync();
 }