Partilhar via


Construtor MediaAction (UITechnologyElement, UITestMediaEventInfo)

Cria uma instância de MediaAction para um UITechnologyElement com o evento de mídia especificado.

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

Sintaxe

'Declaração
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
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

MediaAction Classe

Sobrecargas MediaAction

Namespace Microsoft.VisualStudio.TestTools.UITest.Common