PowerTCP FTP for .NET
SynchronizingObject Property



Gets or sets the object used to marshal data to the UI thread (for raising events).
Syntax
<DefaultValueAttribute("")>
Public Property SynchronizingObject As ISynchronizeInvoke
Dim instance As ComponentBase
Dim value As ISynchronizeInvoke
 
instance.SynchronizingObject = value
 
value = instance.SynchronizingObject
[DefaultValue("")]
public ISynchronizeInvoke SynchronizingObject {get; set;}
[DefaultValue("")]
public:
property ISynchronizeInvoke^ SynchronizingObject {
   ISynchronizeInvoke^ get();
   void set (    ISynchronizeInvoke^ value);
}
Remarks

This property determines the thread on which the component's event handlers are raised. If set to a UI control, events are raised on the UI thread. If null, events are raised on the current thread.

This property is automatically set to the containing control when used in the Windows Forms designer. When a derived class is dynamically created this property must be set if marshaling to the UI thread is desired.

See Also

Reference

ComponentBase Class
ComponentBase Members


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic