Share via


WebTestError.ErrorSubtype Property

Gets or sets the error subtype string.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property ErrorSubtype As String
public string ErrorSubtype { get; internal set; }
public:
property String^ ErrorSubtype {
    String^ get ();
    internal: void set (String^ value);
}
member ErrorSubtype : string with get, internal set
function get ErrorSubtype () : String 
internal function set ErrorSubtype (value : String)

Property Value

Type: String
The error subtype.

Remarks

ErrorSubtype is a string that describes the subtype of error. The meaning of the ErrorSubtype string depends on the ErrorType. For example, for an HttpError, the ErrorSubtype is the HttpStatusCode. For validation rule errors, extraction rule errors, and exceptions, the ErrorSubtype is the class name of the rule or exception.

.NET Framework Security

See Also

Reference

WebTestError Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace