ErrorAction Constructor (String)

Initializes a new instance of the ErrorAction class by using the provided descriptive 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 ErrorAction(
    string message
)
public:
ErrorAction(
    String^ message
)
new : 
        message:string -> ErrorAction
public function ErrorAction(
    message : String
)

Parameters

  • message
    Type: String

    The description of the error.

.NET Framework Security

See Also

Reference

ErrorAction Class

ErrorAction Overload

Microsoft.VisualStudio.TestTools.UITest.Common Namespace