ThreadSafeFileWatcher Class
Used when monitoring the file system.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public NotInheritable Class ThreadSafeFileWatcher _
Inherits FileSystemWatcher
'Usage
Dim instance As ThreadSafeFileWatcher
public sealed class ThreadSafeFileWatcher : FileSystemWatcher
public ref class ThreadSafeFileWatcher sealed : public FileSystemWatcher
public final class ThreadSafeFileWatcher extends FileSystemWatcher
[<SealedAttribute>]
type ThreadSafeFileWatcher =
class
inherit FileSystemWatcher
end
Remarks
This class marshals the file system events back onto the UI thread using the Job Manager.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.IO.FileSystemWatcher
Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities.ThreadSafeFileWatcher
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace