Name
ErrorEventArgs
Synopsis
This type defines the event arguments that are passed when a FileSystemWatcher.Error
event occurs.
It contains the exception that was raised by the error, which you
can access by calling GetException()
.
Public Class ErrorEventArgs : Inherits EventArgs ' Public Constructors Public Sub New( ByVal exception As Exception) ' Public Instance Methods Overridable Public Function GetException() As Exception End Class
Hierarchy
System.Object→System.EventArgs→ ErrorEventArgs
Passed To
ErrorEventHandler.{BeginInvoke()
, Invoke()}
, FileSystemWatcher.OnError()
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.