Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an instance of MediaAction for a UITechnologyElement with specified media event.
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
)
Parameters
element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementElement on which MediaAction was done.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.