UITestWarningEventArgs Constructor (UITestAction, Exception, String)
Initializes a new instance of the UITestWarningEventArgs class.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
public UITestWarningEventArgs(
UITestAction action,
Exception ex,
string warning
)
public:
UITestWarningEventArgs(
UITestAction^ action,
Exception^ ex,
String^ warning
)
new :
action:UITestAction *
ex:Exception *
warning:string -> UITestWarningEventArgs
Public Sub New (
action As UITestAction,
ex As Exception,
warning As String
)
Parameters
action
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionA UITestAction object.
ex
Type: System.ExceptionThe Exception that has information about the problem that occurred.
warning
Type: System.StringThe text that explains the nature of the warning.
See Also
UITestAction
UITestWarningEventArgs Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top