This documentation is archived and is not being maintained.

DataCollectorExceptionMessageInfo Class

Represents information about an exception that is reported by a diagnostic data collector.

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)

[SerializableAttribute]
public class DataCollectorExceptionMessageInfo : DataCollectorMessageInfo

The DataCollectorExceptionMessageInfo type exposes the following members.

  NameDescription
Public propertyAgentNameGets or sets the display name of the agent for the data collector that sent the message. (Inherited from DataCollectorMessageInfo.)
Public propertyDataCollectorFriendlyNameGets or sets the name of the diagnostic data adapter that sent the message. (Inherited from DataCollectorMessageInfo.)
Public propertyDataCollectorUriGets or sets the uniform resource identifier (URI) for the diagnostic data adapter that sent the message. (Inherited from DataCollectorMessageInfo.)
Protected propertyElementNameGets the name of the test element to which the message is persisted. (Overrides DataCollectorMessageInfo.ElementName.)
Public propertyExceptionMessageGets or sets the message for the exception that has occurred.
Public propertyExceptionTypeGets or sets the type of exception that has occurred.
Public propertyLevelGets or sets the severity level of the message. (Inherited from DataCollectorMessageInfo.)
Public propertyStackTraceGets or sets the stack trace for the exception that has occurred.
Public propertyTextGets or sets the text of the message. (Inherited from DataCollectorMessageInfo.)
Public propertyTimestampGets or sets the date and time that the message was created. (Inherited from DataCollectorMessageInfo.)
Top

  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodLoadLoads an instance of this class from the provided XML element by using the provided parameters. (Overrides DataCollectorMessageInfo.Load(XmlElement, XmlTestStoreParameters).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodSaveSaves this object in the provided XML element by using the provided parameters. (Overrides DataCollectorMessageInfo.Save(XmlElement, XmlTestStoreParameters).)
Public methodToStringReturns the current object as a string. (Overrides DataCollectorMessageInfo.ToString().)
Top

  NameDescription
Explicit interface implemetationPrivate methodIXmlTestStore.LoadLoads the object from the provided XML element. (Inherited from DataCollectorMessageInfo.)
Explicit interface implemetationPrivate methodIXmlTestStore.SaveSaves this object under the provided XML element. (Inherited from DataCollectorMessageInfo.)
Explicit interface implemetationPrivate propertyIXmlTestStoreCustom.ElementNameGets the name of the tag to use to persist this object. (Inherited from DataCollectorMessageInfo.)
Explicit interface implemetationPrivate propertyIXmlTestStoreCustom.NamespaceUriGets the XML namespace to use to store the element. (Inherited from DataCollectorMessageInfo.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: