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.177 -- Release Build+17e3a8c30c12a6a5a57ad4af156d7b83be281c33
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.