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: 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