Initializes a new instance of the UITestEventArgs class by using the provided user interface (UI) test.
Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Sub New ( _
    uiTest As UITest _
)
public UITestEventArgs(
    UITest uiTest
)
public:
UITestEventArgs(
    UITest^ uiTest
)
new : 
        uiTest:UITest -> UITestEventArgs
public function UITestEventArgs(
    uiTest : UITest
)
Parameters
- uiTest 
 Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITest- A UITest object. 
.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.