Xceed .NET Libraries Documentation
SynchronizingObject Property (FtpConnection)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpConnection Class : SynchronizingObject Property
Gets or sets the object used to automatically redirect events on the main UI thread.
Syntax
'Declaration
 
Public Property SynchronizingObject As ISynchronizeInvoke
'Usage
 
Dim instance As FtpConnection
Dim value As ISynchronizeInvoke
 
instance.SynchronizingObject = value
 
value = instance.SynchronizingObject
public ISynchronizeInvoke SynchronizingObject {get; set;}

Property Value

The System.ComponentModel.ISynchronizeInvoke object (System.Windows.Forms.Control for the .NET Compact Framework version) used to automatically redirect events on the main UI thread. By default, a null reference (Nothing in Visual Basic).
Remarks

This property should be set when performing GUI operations in event handlers.

If this property is set, messages will be pumped through a call to System.Windows.Forms.Application.DoEvents.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FtpConnection Class
FtpConnection Members