OPC Studio User's Guide and Reference
FailureEventHandler Delegate



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

Parameters

sender
The source of the event.
e
A FailureEventArgs 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