Constructor FileDependency
FileDependency(String)
Initializes a new instance of the FileExpiration class that monitors a file or directory for changes.
Declaration
public FileDependency(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
FileDependency(String[])
Initializes a new instance of the FileExpiration class that monitors an array of file paths (to files or directories) for changes.
Declaration
public FileDependency(string[] fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | fileName |
FileDependency(String, DateTime)
Initializes a new instance of the FileExpiration class that monitors a file or directory for changes and indicates when change tracking is to begin.
Declaration
public FileDependency(string fileName, DateTime startAfter)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | |
System.DateTime | startAfter |
FileDependency(String[], DateTime)
Initializes a new instance of the FileExpiration class that monitors an array of file paths (to files or directories) for changes and specifies a time when change monitoring begins.
Declaration
public FileDependency(string[] fileName, DateTime startAfter)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | fileName | |
System.DateTime | startAfter |