We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

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)

public WarningAction(
	string message,
	UITechnologyElement uiElement
)

Parameters

message
Type: System.String
A string that contains a warning message.
uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
A UITechnologyElement object.

Show: