Sdílet prostřednictvím


UITestWarningEventArgs – konstruktor

Vytvoří novou instanci třídy UITestWarningEventArgs.

Obor názvů:  Microsoft.VisualStudio.TestTools.UITest.Common
Sestavení:  Microsoft.VisualStudio.TestTools.UITest.Common (v Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntaxe

'Deklarace
Public Sub New ( _
    action As UITestAction, _
    ex As Exception, _
    warning As String _
)
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
)

Parametry

  • ex
    Typ: Exception

    Exception , Který má informace o problému, k níž došlo.

  • warning
    Typ: String

    Text, který vysvětluje povahu upozornění.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

UITestWarningEventArgs Třída

Microsoft.VisualStudio.TestTools.UITest.Common – obor názvů

UITestAction