SafeFileWatcherWaitForChanged(WatcherChangeTypes, Int32) Method

A synchronous method that returns a structure that contains specific information on the change that occurred, given the type of change you want to monitor and the time (in milliseconds) to wait before timing out.

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.136 -- Release Build+d454dafd53fcce88fce9c0a8ec8597176c30b791
public WaitForChangedResult WaitForChanged(
	WatcherChangeTypes changeType,
	int timeout
)

Parameters

changeType  WatcherChangeTypes
The WatcherChangeTypes to watch for.
timeout  Int32
The time (in milliseconds) to wait before timing out.

Return Value

WaitForChangedResult
A WaitForChangedResult that contains specific information on the change that occurred.

See Also