Konstruktor MediaAction — (UITechnologyElement, UITestMediaEventInfo)
Tworzy wystąpienie MediaAction dla UITechnologyElement z określonego zdarzenia multimediów.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITest.Common
Zestaw: Microsoft.VisualStudio.TestTools.UITest.Common (w Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Składnia
'Deklaracja
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
)
Parametry
element
Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementElement, na który dokonano MediaAction.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Używanie bibliotek pochodzących z częściowo zaufanego kodu.
Zobacz też
Informacje
Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Common