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: StringA string that contains a warning message.
uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementA UITechnologyElement object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.