共用方式為


AutoRecoveringFileSystemWatcher Constructor

Definition

public AutoRecoveringFileSystemWatcher (string path, string filter = "*.*", bool includeSubdirectories = true, System.IO.WatcherChangeTypes changeTypes = System.IO.WatcherChangeTypes.All, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter = default);
new Microsoft.Azure.WebJobs.Script.IO.AutoRecoveringFileSystemWatcher : string * string * bool * System.IO.WatcherChangeTypes * Microsoft.Azure.WebJobs.Host.TraceWriter -> Microsoft.Azure.WebJobs.Script.IO.AutoRecoveringFileSystemWatcher
Public Sub New (path As String, Optional filter As String = "*.*", Optional includeSubdirectories As Boolean = true, Optional changeTypes As WatcherChangeTypes = System.IO.WatcherChangeTypes.All, Optional traceWriter As TraceWriter = Nothing)

Parameters

path
String
filter
String
includeSubdirectories
Boolean
changeTypes
WatcherChangeTypes
traceWriter
Microsoft.Azure.WebJobs.Host.TraceWriter

Applies to