FilePathWaitForReadLockExclusive(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.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
public static void WaitForReadLockExclusive(
string fileName,
double secondsToWait
)
Public Shared Sub WaitForReadLockExclusive (
fileName As String,
secondsToWait As Double
)
public:
static void WaitForReadLockExclusive(
String^ fileName,
double secondsToWait
)
Gemstone.IO.FilePath.WaitForReadLockExclusive = 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.