PowerTCP SSH and SFTP for .NET
SynchronizingObject Property




Gets or sets the object used to marshal data to the UI thread (for raising events).
Syntax
'Declaration
 
<DefaultValueAttribute("")>
Public Property SynchronizingObject As ISynchronizeInvoke
'Usage
 
Dim instance As ComponentBase
Dim value As ISynchronizeInvoke
 
instance.SynchronizingObject = value
 
value = instance.SynchronizingObject
[DefaultValue("")]
public ISynchronizeInvoke SynchronizingObject {get; set;}
[DefaultValue("")]
public: __property ISynchronizeInvoke* get_SynchronizingObject();
public: __property void set_SynchronizingObject( 
   ISynchronizeInvoke* value
);
[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 SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic