DataCollectorMessageInfo Class
Represents an error message or warning message for diagnostic data adapters.
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Microsoft.VisualStudio.TestTools.Common::DataCollectorMessageInfo
Microsoft.VisualStudio.TestTools.Common::DataCollectorExceptionMessageInfo
| Name | Description | |
|---|---|---|
![]() | DataCollectorMessageInfo() | Initializes a new instance of the DataCollectorMessageInfo class. |
| Name | Description | |
|---|---|---|
![]() | AgentName | Gets or sets the display name of the agent for the data collector that sent the message. |
![]() | DataCollectorFriendlyName | Gets or sets the name of the diagnostic data adapter that sent the message. |
![]() | DataCollectorUri | Gets or sets the uniform resource identifier (URI) for the diagnostic data adapter that sent the message. |
![]() | ElementName | Gets the name of the tag to use to persist this object ("DataCollectorMessage"). |
![]() | Level | Gets or sets the severity level of the message. |
![]() | Text | Gets or sets the text of the message. |
![]() | Timestamp | Gets or sets the date and time that the message was created. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Load(XmlElement^, XmlTestStoreParameters^) | Loads the object from the provided XML element. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Save(XmlElement^, XmlTestStoreParameters^) | Saves this object under the provided XML element. |
![]() | ToString() | Returns a string representation of the message and its properties.(Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | IXmlTestStore::Load(XmlElement^, XmlTestStoreParameters^) | Loads the object from the provided XML element. |
![]() ![]() | IXmlTestStore::Save(XmlElement^, XmlTestStoreParameters^) | Saves this object under the provided XML element. |
Although this class can be used in your custom diagnostic data adapter, it is instantiated and populated only by the Visual Studio Professional 2012 testing framework.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





