DataCollectorExceptionMessageInfo Class
Represents information about an exception that is reported by a diagnostic data collector.
Inheritance Hierarchy
System.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 | |
---|---|---|
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. (Overrides DataCollectorMessageInfo.ElementName.) | |
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.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load | Loads an instance of this class from the provided XML element by using the provided parameters. (Overrides DataCollectorMessageInfo.Load(XmlElement, XmlTestStoreParameters).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save | Saves this object in the provided XML element by using the provided parameters. (Overrides DataCollectorMessageInfo.Save(XmlElement, XmlTestStoreParameters).) | |
ToString | Returns the current object as a string. (Overrides DataCollectorMessageInfo.ToString().) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IXmlTestStore.Load | Loads the object from the provided XML element. (Inherited from DataCollectorMessageInfo.) | |
IXmlTestStore.Save | 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.) |
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.