NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FileSystemWatcher.SynchronizingObject

Gets or sets the object used to marshal the event handler calls issued as a result of a directory change.

[Visual Basic]
Public Property SynchronizingObject As ISynchronizeInvoke
[C#]
public ISynchronizeInvoke SynchronizingObject {get; set;}
[C++]
public: __property ISynchronizeInvoke* get_SynchronizingObject();
public: __property void set_SynchronizingObject(ISynchronizeInvoke*);
[JScript]
public function get SynchronizingObject() : ISynchronizeInvoke;
public function set SynchronizingObject(ISynchronizeInvoke);

Property Value

An ISynchronizeInvoke that represents the object used to marshal the event handler calls issued as a result of a directory change. The default is a null reference (in Visual Basic Nothing).

Remarks

This property will normally be set when the component is placed inside a control or a form, because these components are bound to a specific thread.

See Also

FileSystemWatcher Class | FileSystemWatcher Members | System.IO Namespace | ISynchronizeInvoke