LastError Property

See Also

FtpDLX Class  | FtpDLX Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

LastError Property

Holds last error that occured, if any.

[Visual Basic]
Public ReadOnly Property LastError As Exception
[C#]
public Exception LastError {get;}
[JScript]
public function get LastError : 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)

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FtpDLX Class  | FtpDLX Members

 

 


© WeOnlyDo Software. All Rights Reserved.