Inheritance: System.EventArgs
        private void OnListenFailed(object sender, ListenFailedEventArgs e)
        {
            var caption = string.Format(
                CultureInfo.InvariantCulture, "Unable to listen on port {0}", this.ViewModel.ListeningPort);

            MessageBox.Show(this, e.Exception.Message, caption, MessageBoxButton.OK, MessageBoxImage.Error);
        }
 private void OnListenFailed(object sender, ListenFailedEventArgs e)
 {
     var caption = string.Format(
         CultureInfo.InvariantCulture, "Unable to listen on port {0}", this.ViewModel.ListeningPort);
     MessageBox.Show(this, e.Exception.Message, caption, MessageBoxButton.OK, MessageBoxImage.Error);
 }