using System; namespace Renci.SshNet.Common { /// /// Provides data for the ErrorOccured events. /// public class ExceptionEventArgs : EventArgs { /// /// Gets the System.Exception that represents the error that occurred. /// public Exception Exception { get; private set; } /// /// Initializes a new instance of the class. /// /// An System.Exception that represents the error that occurred. public ExceptionEventArgs(Exception exception) { Exception = exception; } } }