Click or drag to resize

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.

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public WaitForChangedResult WaitForChanged(
	WatcherChangeTypes changeType,
	int timeout
)
View Source

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