Метод | Описание | |
---|---|---|
BeginInit ( ) : void | ||
EndInit ( ) : void | ||
FileSystemWatcher ( ) | ||
FileSystemWatcher ( string path ) | ||
FileSystemWatcher ( string path, string filter ) | ||
FileSystemWatcher ( string path ) : System.ComponentModel | ||
FileSystemWatcher ( string path, string filter ) : System.ComponentModel | ||
WaitForChanged ( System changeType ) : System.IO.WaitForChangedResult | ||
WaitForChanged ( System changeType, int timeout ) : System.IO.WaitForChangedResult | ||
WaitForChanged ( WatcherChangeTypes changeType ) : |
||
WaitForChanged ( WatcherChangeTypes changeType, int timeout ) : |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void | ||
OnChanged ( System e ) : void | ||
OnCreated ( System e ) : void | ||
OnDeleted ( System e ) : void | ||
OnError ( System e ) : void | ||
OnRenamed ( System e ) : void |
Метод | Описание | |
---|---|---|
AllocateBuffer ( ) : byte[] |
Allocates a buffer of the requested internal buffer size.
|
|
FileSystemWatcher ( ) : System.ComponentModel | ||
InvokeOn ( |
||
IsHandleInvalid ( System.IO.SafeFileHandle handle ) : bool | ||
IsSuspended ( ) : bool | ||
MatchPattern ( string relativePath ) : bool | ||
Monitor ( AsyncReadState state ) : void |
Initiates the next asynchronous read operation if monitoring is still desired. If the directory handle has been closed due to an error or due to event monitoring being disabled, this cleans up state associated with the operation.
|
|
NotifyFileSystemEventArgs ( WatcherChangeTypes changeType, string name ) : void | ||
NotifyInternalBufferOverflowEvent ( ) : void | ||
NotifyRenameEventArgs ( WatcherChangeTypes action, string name, string oldName ) : void | ||
OnChanged ( |
||
OnCreated ( |
||
OnDeleted ( |
||
OnError ( |
||
OnRenamed ( |
||
ParseEventBufferAndNotifyForEach ( byte buffer ) : void | ||
ReadDirectoryChangesCallback ( uint errorCode, uint numBytes, NativeOverlapped overlappedPointer ) : void |
Callback invoked when an asynchronous read on the directory handle completes.
|
|
ReadMaxUserLimit ( string path ) : string |
Reads the value of a max user limit path from procfs.
|
|
Restart ( ) : void | ||
StartRaisingEventsIfNotDisposed ( ) : void | ||
TranslateFilters ( NotifyFilters filters ) : Interop.Sys.NotifyEvents |
Maps the FileSystemWatcher's NotifyFilters enumeration to the corresponding Interop.Sys.NotifyEvents values.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public FileSystemWatcher ( string path, string filter ) | ||
path | string | |
filter | string |
public FileSystemWatcher ( string path ) : System.ComponentModel | ||
path | string | |
Результат | System.ComponentModel |
public FileSystemWatcher ( string path, string filter ) : System.ComponentModel | ||
path | string | |
filter | string | |
Результат | System.ComponentModel |
public WaitForChanged ( System changeType ) : System.IO.WaitForChangedResult | ||
changeType | System | |
Результат | System.IO.WaitForChangedResult |
public WaitForChanged ( System changeType, int timeout ) : System.IO.WaitForChangedResult | ||
changeType | System | |
timeout | int | |
Результат | System.IO.WaitForChangedResult |
public WaitForChanged ( WatcherChangeTypes changeType ) : |
||
changeType | WatcherChangeTypes | |
Результат |
public WaitForChanged ( WatcherChangeTypes changeType, int timeout ) : |
||
changeType | WatcherChangeTypes | |
timeout | int | |
Результат |