FailedEventArgs.cs 464 B

12345678910111213141516171819
  1. using System.Runtime.InteropServices;
  2. namespace WinSCP
  3. {
  4. [Guid("2C29B0BD-4F77-4743-A72A-B91F6D0EAD16")]
  5. [ClassInterface(Constants.ClassInterface)]
  6. [ComVisible(true)]
  7. public sealed class FailedEventArgs : OperationEventArgs
  8. {
  9. internal FailedEventArgs()
  10. {
  11. }
  12. public override string ToString()
  13. {
  14. return (Error != null) ? Error.ToString() : "<no error>";
  15. }
  16. }
  17. }