You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
728 B
C#
25 lines
728 B
C#
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)
|
|
{
|
|
Exception = exception;
|
|
}
|
|
}
|
|
}
|