WarningAction Constructor (String, String)
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, _
idTag As String _
)
public WarningAction(
string message,
string idTag
)
public:
WarningAction(
String^ message,
String^ idTag
)
new :
message:string *
idTag:string -> WarningAction
public function WarningAction(
message : String,
idTag : String
)
Parameters
message
Type: StringA string that contains a warning message.
idTag
Type: StringA string that contains an ID.
.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.