ErrorEventArgs Class

Provides data for the Error event.

Syntax

Declaration

public class ErrorEventArgs : EventArgs

Inheritance Hierarchy

Inherited Members

System.EventArgs

System.Object

, , , , , ,

Constructors summary

Initializes a new instance of the ErrorEventArgs class.

Methods summary

Gets the Exception that represents the error that occurred.

Constructors

  • ErrorEventArgs(Exception)

    Initializes a new instance of the ErrorEventArgs class.

    public ErrorEventArgs(Exception exception)

    Parameters

Methods

  • GetException()

    Gets the Exception that represents the error that occurred.

    public virtual Exception GetException()

    Returns

Details

Namespace

System.IO

Assembly

System.IO.FileSystem.Watcher.dll

See Also