Constructor FileLock
FileLock(FileInfo)
Declaration
public FileLock(FileInfo lockFile)
Parameters
Type | Name | Description |
---|---|---|
FileInfo | lockFile |
FileLock(FileInfo, TimeSpan)
Declaration
public FileLock(FileInfo lockFile, TimeSpan timeout)
Parameters
Type | Name | Description |
---|---|---|
FileInfo | lockFile | |
TimeSpan | timeout |