Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataCollectorMessageInfo Class

 

Represents an error message or warning message for diagnostic data adapters.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

System::Object
  Microsoft.VisualStudio.TestTools.Common::DataCollectorMessageInfo
    Microsoft.VisualStudio.TestTools.Common::DataCollectorExceptionMessageInfo

[SerializableAttribute]
public ref class DataCollectorMessageInfo : IXmlTestStore, IXmlTestStoreCustom

NameDescription
System_CAPS_protmethodDataCollectorMessageInfo()

Initializes a new instance of the DataCollectorMessageInfo class.

NameDescription
System_CAPS_pubpropertyAgentName

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

System_CAPS_pubpropertyDataCollectorFriendlyName

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

System_CAPS_pubpropertyDataCollectorUri

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

System_CAPS_protpropertyElementName

Gets the name of the tag to use to persist this object ("DataCollectorMessage").

System_CAPS_pubpropertyLevel

Gets or sets the severity level of the message.

System_CAPS_pubpropertyText

Gets or sets the text of the message.

System_CAPS_pubpropertyTimestamp

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

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodLoad(XmlElement^, XmlTestStoreParameters^)

Loads the object from the provided XML element.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodSave(XmlElement^, XmlTestStoreParameters^)

Saves this object under the provided XML element.

System_CAPS_pubmethodToString()

Returns a string representation of the message and its properties.(Overrides Object::ToString().)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlTestStore::Load(XmlElement^, XmlTestStoreParameters^)

Loads the object from the provided XML element.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIXmlTestStore::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.

Return to top
Show: