Version

RoleSelectedEventArgs Constructor

Initializes a new RoleSelectedEventArgs
Syntax
'Declaration
 
Public Function New( _
   ByVal roleName As String, _
   ByVal componentRoleName As String, _
   ByVal componentRole As ComponentRole, _
   ByVal action As RoleSelectionAction _
)
public RoleSelectedEventArgs( 
   string roleName,
   string componentRoleName,
   ComponentRole componentRole,
   RoleSelectionAction action
)

Parameters

roleName
Name of the role that was selected or null if the component role was selected.
componentRoleName
Name of the component role that was selected.
componentRole
Component role whose role was selected.
action
Action that should be performed by the listener.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also