C# 클래스 Microsoft.Azure.WebJobs.Script.IO.AutoRecoveringFileSystemWatcher

상속: IDisposable
파일 보기 프로젝트 열기: Azure/azure-webjobs-sdk-script 1 사용 예제들

공개 메소드들

메소드 설명
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