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