Back to product page

LastError property


Holds last error that occured, if any.

Type

Exception

Syntax

  • C#
  • VB.NET
Exception LastError {get; };

ReadOnly Property LastError As Exception

Remarks

You can use LastError property to read error that occurred. This is the same value that was provided by Done event.

To get string representation of the error, you can use code like this:

Console.Write(Ftp1.LastError.Message)

Platforms

Windows