|
FilePathWaitForWriteLock(String, Double) Method
|
Waits for write access on a file for the specified number of seconds.
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic static void WaitForWriteLock(
string fileName,
double secondsToWait
)
Public Shared Sub WaitForWriteLock (
fileName As String,
secondsToWait As Double
)
public:
static void WaitForWriteLock(
String^ fileName,
double secondsToWait
)
static member WaitForWriteLock :
fileName : string *
secondsToWait : float -> unit
GSF.IO.FilePath.WaitForWriteLock = function(fileName, secondsToWait);
View SourceParameters
- fileName String
- The name of the file to wait for to obtain write access.
- secondsToWait Double
- The time to wait for in seconds to obtain write access on a file. Set to zero to wait infinitely.
See Also