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