Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal target As Object, _ ByVal eventInfo As EventInfo _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim target As Object Dim eventInfo As EventInfo Dim instance As New EventListener(target, eventInfo) |
Parameters
- target
- Target
- eventInfo
- Event information
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2