QuickOPC User's Guide and Reference
Raise<TEventArgs>(EventHandler<TEventArgs>,TEventArgs,Nullable<Boolean>) Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Widgets Namespace > NotifyingWidget Class > Raise Method : Raise<TEventArgs>(EventHandler<TEventArgs>,TEventArgs,Nullable<Boolean>) Method
The type of event arguments.
The callback or event handler.
Event arguments that contains the callback or event data.
When not null, overrides the QueueCallbacks setting on the widget.
Raises a callback or event using a given handler and passing it specified event arguments, optionally specifying whether to enqueue the call.
Syntax
'Declaration
 
Public Overloads Sub Raise(Of TEventArgs)( _
   ByVal handler As EventHandler(Of TEventArgs), _
   ByVal eventArgs As TEventArgs, _
   ByVal enqueue As Nullable(Of Boolean) _
) 
'Usage
 
Dim instance As NotifyingWidget
Dim handler As EventHandler(Of TEventArgs)
Dim eventArgs As TEventArgs
Dim enqueue As Nullable(Of Boolean)
 
instance.Raise(Of TEventArgs)(handler, eventArgs, enqueue)

Parameters

handler
The callback or event handler.
eventArgs
Event arguments that contains the callback or event data.
enqueue
When not null, overrides the QueueCallbacks setting on the widget.

Type Parameters

TEventArgs
The type of event arguments.
Requirements

Target Platforms: .NET Framework: Windows 10, Windows Server 2012, Windows Server 2016; .NET Core, .NET 5: Linux, macOS, Microsoft Windows

See Also

Reference

NotifyingWidget Class
NotifyingWidget Members
Overload List