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