ErrorEventHandler Delegate

Represents the method that will handle the Environment.ErrorOccurred event.
Public Delegate Sub ErrorEventHandler( _ 
ByVal sender As Object, _ 
ByVal args As ErrorOccurredEventArgs
)
This language is not supported or no code example is available.
public delegate void ErrorEventHandler( 
object sender
ErrorOccurredEventArgs args 
)
This language is not supported or no code example is available.

Parameters

sender
object

The source of the event.

args
ErrorOccurredEventArgs

.NET Framework

Supported in: 4.8

In this article

Definition