다음을 통해 공유


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 네임스페이스