C# Класс Microsoft.Azure.WebJobs.Script.IO.AutoRecoveringFileSystemWatcher

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AutoRecoveringFileSystemWatcher ( string path, string filter = "*.*", bool includeSubdirectories = true, WatcherChangeTypes changeTypes = WatcherChangeTypes.All, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter = null ) : System
Dispose ( ) : void

Защищенные методы

Метод Описание
OnFileChanged ( object sender, FileSystemEventArgs e ) : void
OnFileWatcherError ( ErrorEventArgs args ) : void

Приватные методы

Метод Описание
AddEventSubscriptions ( FileSystemWatcher fileWatcher, WatcherChangeTypes changeTypes ) : void
Dispose ( bool disposing ) : void
InitializeWatcher ( ) : void
Recover ( int attempt = 1 ) : Task
ReleaseCurrentFileWatcher ( ) : void
Trace ( string message, TraceLevel level ) : void

Описание методов

AutoRecoveringFileSystemWatcher() публичный Метод

public AutoRecoveringFileSystemWatcher ( string path, string filter = "*.*", bool includeSubdirectories = true, WatcherChangeTypes changeTypes = WatcherChangeTypes.All, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter = null ) : System
path string
filter string
includeSubdirectories bool
changeTypes WatcherChangeTypes
traceWriter Microsoft.Azure.WebJobs.Host.TraceWriter
Результат System

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

OnFileChanged() защищенный Метод

protected OnFileChanged ( object sender, FileSystemEventArgs e ) : void
sender object
e System.IO.FileSystemEventArgs
Результат void

OnFileWatcherError() защищенный Метод

protected OnFileWatcherError ( ErrorEventArgs args ) : void
args System.IO.ErrorEventArgs
Результат void