|
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.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic WaitForChangedResult WaitForChanged(
WatcherChangeTypes changeType,
int timeout
)
Public Function WaitForChanged (
changeType As WatcherChangeTypes,
timeout As Integer
) As WaitForChangedResult
public:
WaitForChangedResult WaitForChanged(
WatcherChangeTypes changeType,
int timeout
)
member WaitForChanged :
changeType : WatcherChangeTypes *
timeout : int -> WaitForChangedResult
function WaitForChanged(changeType, timeout);
View SourceParameters
- changeType WatcherChangeTypes
- The WatcherChangeTypes to watch for.
- timeout Int32
- The time (in milliseconds) to wait before timing out.
Return Value
WaitForChangedResultA
WaitForChangedResult that contains specific information on the change that occurred.
See Also