Initializes a new instance of the class.
Syntax
'Declaration
Public Function New( _
ByVal As IComponent, _
ByVal As String, _
ByVal 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 ,
string ,
IExtenderEventProvider
)
public:
EventSource(
IComponent^ ,
String^ ,
IExtenderEventProvider^
)
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