Click or drag to resize

SafeFileWatcher Methods

The SafeFileWatcher type exposes the following members.

Methods
  Name Description
Public method BeginInit Begins the initialization of a SafeFileWatcher used on a form or used by another component. The initialization occurs at run time.
Public method Dispose Releases all the resources used by the SafeFileWatcher object.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the SafeFileWatcher object and optionally releases the managed resources.
Public method EndInit Ends the initialization of a SafeFileWatcher used on a form or used by another component. The initialization occurs at run time.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Terminates SafeFileWatcher instance making sure to release unmanaged resources.
(Overrides ObjectFinalize)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method WaitForChanged(WatcherChangeTypes) 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.
Public method WaitForChanged(WatcherChangeTypes, Int32) 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.
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also