QuickOPC User's Guide and Reference
ExceptionEventHandler Delegate



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace : ExceptionEventHandler Delegate
The source of the event.
An ExceptionEventArgs that contains the event data.
Represents the method that will handle an event raised for an exception.
Syntax
'Declaration
 
<CLSCompliantAttribute(True)>
<ComVisibleAttribute(False)>
Public Delegate Sub ExceptionEventHandler( _
   ByVal sender As Object, _
   ByVal e As ExceptionEventArgs _
) 
'Usage
 
Dim instance As New ExceptionEventHandler(AddressOf HandlerMethod)
[CLSCompliant(true)]
[ComVisible(false)]
public delegate void ExceptionEventHandler( 
   object sender,
   ExceptionEventArgs e
)
[CLSCompliant(true)]
[ComVisible(false)]
public delegate void ExceptionEventHandler( 
   Object^ sender,
   ExceptionEventArgs^ e
)

Parameters

sender
The source of the event.
e
An ExceptionEventArgs that contains the event data.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also