| 123456789101112131415161718192021222324 |
- using System;
- namespace Renci.SshNet.Common
- {
- /// <summary>
- /// Provides data for the ErrorOccured events.
- /// </summary>
- public class ExceptionEventArgs : EventArgs
- {
- /// <summary>
- /// Gets the System.Exception that represents the error that occurred.
- /// </summary>
- public Exception Exception { get; private set; }
- /// <summary>
- /// Initializes a new instance of the <see cref="ExceptionEventArgs"/> class.
- /// </summary>
- /// <param name="exception">An System.Exception that represents the error that occurred.</param>
- public ExceptionEventArgs(Exception exception)
- {
- this.Exception = exception;
- }
- }
- }
|