TestResultErrorInfo Class

Definition

Represents an error or warning message that was encountered during a test run and included in the test result.

C++
public ref class TestResultErrorInfo sealed : ICloneable, Microsoft::VisualStudio::TestTools::Common::Xml::IXmlTestStore
Inheritance
TestResultErrorInfo
Attributes
Implements

Constructors

TestResultErrorInfo(String)

Initializes a new instance of the TestResultErrorInfo class by using the provided message.

Properties

Message

Gets or sets the test result error message text.

StackTrace

Gets or sets the stack trace that was collected just before the associated error.

Methods

Clone()

Returns a copy of this error information object.

Load(XmlElement, XmlTestStoreParameters)

Loads an instance of this class from the provided XML element by using the provided parameters.

Save(XmlElement, XmlTestStoreParameters)

Saves this object in the provided XML element.

Applies to

Produkt Wersje
Visual Studio SDK 2017, 2019, 2022