Udostępnij za pośrednictwem


WarningAction Constructor (String, UITechnologyElement)

Initializes a new instance of the WarningAction class.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    uiElement As UITechnologyElement _
)
public WarningAction(
    string message,
    UITechnologyElement uiElement
)
public:
WarningAction(
    String^ message, 
    UITechnologyElement^ uiElement
)
new : 
        message:string * 
        uiElement:UITechnologyElement -> WarningAction
public function WarningAction(
    message : String, 
    uiElement : UITechnologyElement
)

Parameters

  • message
    Type: System.String
    A string that contains a warning message.

.NET Framework Security

See Also

Reference

WarningAction Class

WarningAction Overload

Microsoft.VisualStudio.TestTools.UITest.Common Namespace