WarningAction Constructor (String)
Initializes a new instance of the WarningAction class by using the provided warning message.
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 _
)
public WarningAction(
string message
)
public:
WarningAction(
String^ message
)
new :
message:string -> WarningAction
public function WarningAction(
message : String
)
Parameters
message
Type: StringA string that contains a warning message.
.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.