通过使用提供的用户界面 (UI) 测试初始化 UITestEventArgs 类的新实例。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
声明
Public Sub New ( _
uiTest As UITest _
)
public UITestEventArgs(
UITest uiTest
)
public:
UITestEventArgs(
UITest^ uiTest
)
new :
uiTest:UITest -> UITestEventArgs
public function UITestEventArgs(
uiTest : UITest
)
参数
- uiTest
类型:Microsoft.VisualStudio.TestTools.UITest.Common.UITest
一个 UITest 对象。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间
UITest