Interface IFileSystemWatcher

Interface representing System.IO.FileSystemWatcher

Namespace: EPiServer.Framework.FileSystem
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
Syntax
public interface IFileSystemWatcher

Properties

Container

Declaration
IContainer Container { get; }
Property Value
Type Description
System.ComponentModel.IContainer

EnableRaisingEvents

Declaration
bool EnableRaisingEvents { get; set; }
Property Value
Type Description
System.Boolean

Filter

Declaration
string Filter { get; set; }
Property Value
Type Description
System.String

IncludeSubdirectories

Declaration
bool IncludeSubdirectories { get; set; }
Property Value
Type Description
System.Boolean

InternalBufferSize

Declaration
int InternalBufferSize { get; set; }
Property Value
Type Description
System.Int32

NotifyFilter

Declaration
NotifyFilters NotifyFilter { get; set; }
Property Value
Type Description
System.IO.NotifyFilters

Path

Declaration
string Path { get; set; }
Property Value
Type Description
System.String

Site

Declaration
ISite Site { get; set; }
Property Value
Type Description
System.ComponentModel.ISite

SynchronizingObject

Declaration
ISynchronizeInvoke SynchronizingObject { get; set; }
Property Value
Type Description
System.ComponentModel.ISynchronizeInvoke

Methods

BeginInit()

Declaration
void BeginInit()

Dispose()

Declaration
void Dispose()

EndInit()

Declaration
void EndInit()

WaitForChanged(WatcherChangeTypes)

Declaration
WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType)
Parameters
Type Name Description
System.IO.WatcherChangeTypes changeType
Returns
Type Description
System.IO.WaitForChangedResult

WaitForChanged(WatcherChangeTypes, Int32)

Declaration
WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, int timeout)
Parameters
Type Name Description
System.IO.WatcherChangeTypes changeType
System.Int32 timeout
Returns
Type Description
System.IO.WaitForChangedResult

Events

Changed

Declaration
event FileSystemEventHandler Changed
Event Type
Type Description
System.IO.FileSystemEventHandler

Created

Declaration
event FileSystemEventHandler Created
Event Type
Type Description
System.IO.FileSystemEventHandler

Deleted

Declaration
event FileSystemEventHandler Deleted
Event Type
Type Description
System.IO.FileSystemEventHandler

Error

Declaration
event ErrorEventHandler Error
Event Type
Type Description
System.IO.ErrorEventHandler

Renamed

Declaration
event RenamedEventHandler Renamed
Event Type
Type Description
System.IO.RenamedEventHandler

Extension Methods