UITestWarningEventArgs Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the UITestWarningEventArgs class.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration (in Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.dll)

Syntax

'Declaration
Public Sub New ( _
    action As UITestAction, _
    ex As Exception, _
    warning As String _
)
'Usage
Dim action As UITestAction
Dim ex As Exception
Dim warning As String

Dim instance As New UITestWarningEventArgs(action, _
    ex, warning)
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 function UITestWarningEventArgs(
    action : UITestAction, 
    ex : Exception, 
    warning : String
)

Parameters

  • warning
    Type: System.String
    The text that explains the nature of the warning.

.NET Framework Security

See Also

Reference

UITestWarningEventArgs Class

UITestWarningEventArgs Members

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace

UITestAction