DataCollectorExceptionMessageInfo Class

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
Public property AgentName Gets or sets the display name of the agent for the data collector that sent the message. (Inherited from DataCollectorMessageInfo.)
Public property DataCollectorFriendlyName Gets or sets the name of the diagnostic data adapter that sent the message. (Inherited from DataCollectorMessageInfo.)
Public property DataCollectorUri Gets or sets the uniform resource identifier (URI) for the diagnostic data adapter that sent the message. (Inherited from DataCollectorMessageInfo.)
Protected property ElementName Gets the name of the test element to which the message is persisted. (Overrides DataCollectorMessageInfo.ElementName.)
Public property ExceptionMessage Gets or sets the message for the exception that has occurred.
Public property ExceptionType Gets or sets the type of exception that has occurred.
Public property Level Gets or sets the severity level of the message. (Inherited from DataCollectorMessageInfo.)
Public property StackTrace Gets or sets the stack trace for the exception that has occurred.
Public property Text Gets or sets the text of the message. (Inherited from DataCollectorMessageInfo.)
Public property Timestamp Gets or sets the date and time that the message was created. (Inherited from DataCollectorMessageInfo.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Load Loads an instance of this class from the provided XML element by using the provided parameters. (Overrides DataCollectorMessageInfo.Load(XmlElement, XmlTestStoreParameters).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Save Saves this object in the provided XML element by using the provided parameters. (Overrides DataCollectorMessageInfo.Save(XmlElement, XmlTestStoreParameters).)
Public method ToString Returns the current object as a string. (Overrides DataCollectorMessageInfo.ToString().)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IXmlTestStore.Load Loads the object from the provided XML element. (Inherited from DataCollectorMessageInfo.)
Explicit interface implemetationPrivate method IXmlTestStore.Save Saves this object under the provided XML element. (Inherited from DataCollectorMessageInfo.)
Explicit interface implemetationPrivate property IXmlTestStoreCustom.ElementName Gets the name of the tag to use to persist this object. (Inherited from DataCollectorMessageInfo.)
Explicit interface implemetationPrivate property 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.

See Also

Reference

Microsoft.VisualStudio.TestTools.Common Namespace

DataCollectorMessageInfo