FilePathWaitForWriteLock(String, Double) Method
Waits for write 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 WaitForWriteLock(
string fileName,
double secondsToWait
)
Public Shared Sub WaitForWriteLock (
fileName As String,
secondsToWait As Double
)
public:
static void WaitForWriteLock(
String^ fileName,
double secondsToWait
)
Gemstone.IO.FilePath.WaitForWriteLock = function(fileName, secondsToWait);
Parameters
- 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.