Share via


TestExecutionTraceInformation Class

Encapsulates the trace information when an error occurs during test execution. This class cannot be inherited.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.Common.TestExecutionTraceInformation

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class TestExecutionTraceInformation _
    Implements ICloneable, IXmlTestStore
[SerializableAttribute]
public sealed class TestExecutionTraceInformation : ICloneable, 
    IXmlTestStore
[SerializableAttribute]
public ref class TestExecutionTraceInformation sealed : ICloneable, 
    IXmlTestStore
[<Sealed>]
[<SerializableAttribute>]
type TestExecutionTraceInformation =  
    class 
        interface ICloneable 
        interface IXmlTestStore 
    end
public final class TestExecutionTraceInformation implements ICloneable, IXmlTestStore

The TestExecutionTraceInformation type exposes the following members.

Constructors

  Name Description
Public method TestExecutionTraceInformation() Initializes a new instance of the TestExecutionTraceInformation class.
Public method TestExecutionTraceInformation(String) Initializes a new instance of the TestExecutionTraceInformation class.

Top

Properties

  Name Description
Public property Message Gets the exception message.

Top

Methods

  Name Description
Public method AppendTrace Appends more trace data to the current trace data.
Public method Clone Returns a copy of this object.
Public method Equals (Overrides Object.Equals(Object).)
Public method GetHashCode (Overrides Object.GetHashCode.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Load
Public method Save
Public method ToString Returns this object as a string. (Overrides Object.ToString.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.Common Namespace