Freigeben über


MediaAction-Konstruktor (UITechnologyElement, UITestMediaEventInfo)

Erstellt eine Instanz von MediaAction für ein UITechnologyElement mit angegebenem Medienereignis.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    element As UITechnologyElement, _
    eventArgs As UITestMediaEventInfo _
)
public MediaAction(
    UITechnologyElement element,
    UITestMediaEventInfo eventArgs
)
public:
MediaAction(
    UITechnologyElement^ element, 
    UITestMediaEventInfo^ eventArgs
)
new : 
        element:UITechnologyElement * 
        eventArgs:UITestMediaEventInfo -> MediaAction
public function MediaAction(
    element : UITechnologyElement, 
    eventArgs : UITestMediaEventInfo
)

Parameter

.NET Framework-Sicherheit

Siehe auch

Referenz

MediaAction Klasse

MediaAction-Überladung

Microsoft.VisualStudio.TestTools.UITest.Common-Namespace