다음을 통해 공유


DataCollectorExceptionMessageInfo Class

Definition

Represents information about an exception that is reported by a diagnostic data collector.

public ref class DataCollectorExceptionMessageInfo : Microsoft::VisualStudio::TestTools::Common::DataCollectorMessageInfo
[System.Serializable]
public class DataCollectorExceptionMessageInfo : Microsoft.VisualStudio.TestTools.Common.DataCollectorMessageInfo
[<System.Serializable>]
type DataCollectorExceptionMessageInfo = class
    inherit DataCollectorMessageInfo
Public Class DataCollectorExceptionMessageInfo
Inherits DataCollectorMessageInfo
Inheritance
DataCollectorExceptionMessageInfo
Attributes

Properties

AgentName

Gets or sets the display name of the agent for the data collector that sent the message.

(Inherited from DataCollectorMessageInfo)
DataCollectorFriendlyName

Gets or sets the name of the diagnostic data adapter that sent the message.

(Inherited from DataCollectorMessageInfo)
DataCollectorUri

Gets or sets the uniform resource identifier (URI) for the diagnostic data adapter that sent the message.

(Inherited from DataCollectorMessageInfo)
ElementName

Gets the name of the test element to which the message is persisted.

ExceptionMessage

Gets or sets the message for the exception that has occurred.

ExceptionType

Gets or sets the type of exception that has occurred.

Level

Gets or sets the severity level of the message.

(Inherited from DataCollectorMessageInfo)
StackTrace

Gets or sets the stack trace for the exception that has occurred.

Text

Gets or sets the text of the message.

(Inherited from DataCollectorMessageInfo)
Timestamp

Gets or sets the date and time that the message was created.

(Inherited from DataCollectorMessageInfo)

Methods

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 by using the provided parameters.

ToString()

Returns the current object as a string.

Explicit Interface Implementations

IXmlTestStore.Load(XmlElement, XmlTestStoreParameters)

Loads the object from the provided XML element.

(Inherited from DataCollectorMessageInfo)
IXmlTestStore.Save(XmlElement, XmlTestStoreParameters)

Saves this object under the provided XML element.

(Inherited from DataCollectorMessageInfo)
IXmlTestStoreCustom.ElementName

Gets the name of the tag to use to persist this object.

(Inherited from DataCollectorMessageInfo)
IXmlTestStoreCustom.NamespaceUri

Gets the XML namespace to use to store the element.

(Inherited from DataCollectorMessageInfo)

Applies to