Determine if methods are blocking.
[Visual Basic]
Public Property Blocking As Boolean[C#]
public bool Blocking {get; set;}[JScript]
public function get,set Blocking : booleanBlocking mode is ideal for scripting environments when you cannot use asynchronous connections. Although events are still fired, you can just ignore them and check if error occurred during method execution.
Difference between blocking and non-blocking operation may be shown using Connect method.
If Blocking is set to True, wodFtpDLX.NET will wait until it actually connects with remote server. Once
Connected, control will be given back to your program and you can continue with execution of it. If an error is generated, it will be returned immediately.
If Blocking is set to False, wodFtpDLX.NET will immediately return once Connect is called, no matter if it managed to connect with remote server or not (at that particular moment). Later, you should wait for Connected event to be fired by wodFtpDLX.NET to determine when connection is successful (or failed).
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
© WeOnlyDo Software. All Rights Reserved.