ErrorAction Constructor (String, String)
Initializes a new instance of the ErrorAction class by using the descriptive message and identifier.
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 ErrorAction(
string message,
string idTag
)
public:
ErrorAction(
String^ message,
String^ idTag
)
new :
message:string *
idTag:string -> ErrorAction
public function ErrorAction(
message : String,
idTag : String
)
Parameters
- message
Type: System.String
The description of the error.
- idTag
Type: System.String
The error identifier.
.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.