LoopErrorEvent Event

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.

LoopErrorEvent Event

Fires after wodFtpDLX.NET performs operation on item and error occurs.

[Visual Basic]
Public Event LoopErrorEvent() As FtpDLX.LoopDelegate
[C#]
public event FtpDLX.LoopDelegate LoopErrorEvent();
[JScript]
In JScript, you can handle the events defined by another class, but you cannot define your own.

Remarks

LoopError event is fired as result of error that occurred during execution of GetFiles/PutFiles/DeleteFiles/LoopFiles methods. Since those methods are working with many files/folders in a sequence, error may occur while, for example, creating directory, accessing files (like permission problems) etc.. When an error happens, this event is fired and error is provided in Args.Error argument. You can now evaluate the error to determine why your method failed.

You are allowed to set Args.Error = null (Nothing in VB)inside this event, which would cause method to continue performing its work on rest of items, completely ignoring the error. If you don't set Args.Error to null, then method will return immediately with the error as soon as you leave this event.

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.