QuickOPC User's Guide and Reference
EventSource Constructor(IComponent,String,IExtenderEventProvider)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Referencing Namespace > EventSource Class > EventSource Constructor : EventSource Constructor(IComponent,String,IExtenderEventProvider)
The component that is the source of the event.
Path to the event on the source component (typically, an event name).
The extender event provider that enhances the source component with the event.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal sourceComponent As IComponent, _
   ByVal sourcePath As String, _
   ByVal extenderEventProvider As IExtenderEventProvider _
)
'Usage
 
Dim sourceComponent As IComponent
Dim sourcePath As String
Dim extenderEventProvider As IExtenderEventProvider
 
Dim instance As New EventSource(sourceComponent, sourcePath, extenderEventProvider)
public EventSource( 
   IComponent sourceComponent,
   string sourcePath,
   IExtenderEventProvider extenderEventProvider
)
public:
EventSource( 
   IComponent^ sourceComponent,
   String^ sourcePath,
   IExtenderEventProvider^ extenderEventProvider
)

Parameters

sourceComponent
The component that is the source of the event.
sourcePath
Path to the event on the source component (typically, an event name).
extenderEventProvider
The extender event provider that enhances the source component with the event.
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