MediaAction 构造函数 (UITechnologyElement, UITestMediaEventInfo)

创建指定媒体事件的 UITechnologyElement 的 MediaAction 实例

命名空间:  Microsoft.VisualStudio.TestTools.UITest.Common
程序集:  Microsoft.VisualStudio.TestTools.UITest.Common(在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

语法

声明
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
)

参数

.NET Framework 安全性

请参阅

参考

MediaAction 类

MediaAction 重载

Microsoft.VisualStudio.TestTools.UITest.Common 命名空间