TestResultErrorInfo Class

Definition

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

public ref class TestResultErrorInfo sealed : ICloneable, Microsoft::VisualStudio::TestTools::Common::Xml::IXmlTestStore
[System.Serializable]
public sealed class TestResultErrorInfo : ICloneable, Microsoft.VisualStudio.TestTools.Common.Xml.IXmlTestStore
[<System.Serializable>]
type TestResultErrorInfo = class
    interface ICloneable
    interface IXmlTestStore
Public NotInheritable Class TestResultErrorInfo
Implements ICloneable, 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