FilePathWaitForReadLock(String, Double) Method
Waits for read access on a file for the specified number of seconds.
Namespace: Gemstone.IOAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
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
)
Gemstone.IO.FilePath.WaitForReadLock = function(fileName, secondsToWait);
Parameters
- 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.