Represents information about an exception that is reported by a diagnostic data collector.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.Common.DataCollectorMessageInfo
    Microsoft.VisualStudio.TestTools.Common.DataCollectorExceptionMessageInfo
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class DataCollectorExceptionMessageInfo _
    Inherits DataCollectorMessageInfo
[SerializableAttribute]
public class DataCollectorExceptionMessageInfo : DataCollectorMessageInfo
[SerializableAttribute]
public ref class DataCollectorExceptionMessageInfo : public DataCollectorMessageInfo
[<SerializableAttribute>]
type DataCollectorExceptionMessageInfo =  
    class 
        inherit DataCollectorMessageInfo 
    end
public class DataCollectorExceptionMessageInfo extends DataCollectorMessageInfo
The DataCollectorExceptionMessageInfo type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | AgentName | Gets or sets the display name of the agent for the data collector that sent the message. (Inherited from DataCollectorMessageInfo.) | 
| .gif) | DataCollectorFriendlyName | Gets or sets the name of the diagnostic data adapter that sent the message. (Inherited from DataCollectorMessageInfo.) | 
| .gif) | DataCollectorUri | Gets or sets the uniform resource identifier (URI) for the diagnostic data adapter that sent the message. (Inherited from DataCollectorMessageInfo.) | 
| .gif) | ElementName | Gets the name of the test element to which the message is persisted. (Overrides DataCollectorMessageInfo.ElementName.) | 
| .gif) | ExceptionMessage | Gets or sets the message for the exception that has occurred. | 
| .gif) | ExceptionType | Gets or sets the type of exception that has occurred. | 
| .gif) | Level | Gets or sets the severity level of the message. (Inherited from DataCollectorMessageInfo.) | 
| .gif) | StackTrace | Gets or sets the stack trace for the exception that has occurred. | 
| .gif) | Text | Gets or sets the text of the message. (Inherited from DataCollectorMessageInfo.) | 
| .gif) | Timestamp | Gets or sets the date and time that the message was created. (Inherited from DataCollectorMessageInfo.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Load | Loads an instance of this class from the provided XML element by using the provided parameters. (Overrides DataCollectorMessageInfo.Load(XmlElement, XmlTestStoreParameters).) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | Save | Saves this object in the provided XML element by using the provided parameters. (Overrides DataCollectorMessageInfo.Save(XmlElement, XmlTestStoreParameters).) | 
| .gif) | ToString | Returns the current object as a string. (Overrides DataCollectorMessageInfo.ToString().) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IXmlTestStore.Load | Loads the object from the provided XML element. (Inherited from DataCollectorMessageInfo.) | 
| .gif) .gif) | IXmlTestStore.Save | Saves this object under the provided XML element. (Inherited from DataCollectorMessageInfo.) | 
| .gif) .gif) | IXmlTestStoreCustom.ElementName | Gets the name of the tag to use to persist this object. (Inherited from DataCollectorMessageInfo.) | 
| .gif) .gif) | IXmlTestStoreCustom.NamespaceUri | Gets the XML namespace to use to store the element. (Inherited from DataCollectorMessageInfo.) | 
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.