TestResultMessage Class
Provides a base class for test results.
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Microsoft.VisualStudio.TestTools.Common::TestMessage
Microsoft.VisualStudio.TestTools.Common::TestResultMessage
Microsoft.VisualStudio.TestTools.Common::DebugRequestMessage
Microsoft.VisualStudio.TestTools.Common::RunOutputTestResultMessage
Microsoft.VisualStudio.TestTools.Common::TestResult
Microsoft.VisualStudio.TestTools.Common::TestRunTextResultMessage
Microsoft.VisualStudio.TestTools.Common::TextTestResultMessage
| Name | Description | |
|---|---|---|
![]() | TestResultMessage() | This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the TestResultMessage class. |
![]() | TestResultMessage(ComputerInfo^, Guid, ITestElement^, TestMessageKind) | Obsolete.Initializes a new instance of the TestResultMessage class. |
![]() | TestResultMessage(ComputerInfo^, Guid, TestMessageKind) | Obsolete.Initializes a new instance of the TestResultMessage class by using the provided computer name, test run ID, and test result kind. |
![]() | TestResultMessage(SerializationInfo^, StreamingContext) | This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the TestResultMessage class from serialized XML data. |
![]() | TestResultMessage(String^, Guid, ITestElement^, TestMessageKind) | Initializes a new instance of the TestResultMessage class by using the provided computer name, test run ID, test element, and test result kind. |
![]() | TestResultMessage(String^, Guid, TestMessageKind) | Initializes a new instance of the TestResultMessage class by using the provided computer name, test run ID, and test result kind. |
![]() | TestResultMessage(TestResultMessage^) | This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the TestResultMessage class by using the provided test result message. |
| Name | Description | |
|---|---|---|
![]() | ComputerName | Gets the name of the computer that executed the associated test run or test. |
![]() | DisplayText | Gets the text to display in the user interface of Visual Studio Application Lifecycle Management (ALM). |
![]() | Duration | Gets or sets the time that was spent to execute the associated test or test run. |
![]() | EndTime | Gets or sets the time that the execution ended. |
![]() | Id | Gets or sets the ID for this test result message. |
![]() | IsRunLevel | Gets a value that indicates whether this result is for a test run and not for a test. |
![]() | LongText | Gets the value of the DisplayText property. |
![]() | MessageKind | Gets or sets the kind of test result message for this associated test result message. |
![]() | SpoolMessage | Gets or sets a value that determines whether this message will be spooled into the persisted test results. |
![]() | StartTime | Gets or sets the time that the associated test run or test started. |
![]() | Storage | Gets or sets the relative path of a folder where all files that are associated with the test are stored on the server. |
![]() | SystemException | Gets or sets the most recent exception that was encountered during the associated test run or test. |
![]() | TestName | Gets or sets the name of the associated test. |
![]() | TestType | Gets or sets the type for the associated test. |
![]() | VisibleProperties | Gets a collection of the properties in this test result message that will be visible in the user interface of Visual Studio Application Lifecycle Management (ALM). |
| Name | Description | |
|---|---|---|
![]() | Clone() | Returns a deep copy of this test result message. |
![]() | Equals(Object^) | Determines whether the provided object is equal to the current object.(Overrides Object::Equals(Object^).) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Overrides Object::GetHashCode().) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | Populates a SerializationInfo by using the data that is required to serialize the target object.(Overrides TestMessage::GetObjectData(SerializationInfo^, StreamingContext).) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsValid() | Determines whether this test result message is valid.(Overrides TestMessage::IsValid().) |
![]() | Load(XmlElement^, XmlTestStoreParameters^) | Loads an instance of this class from the provided XML element by using the provided XML store parameters. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Save(XmlElement^, XmlTestStoreParameters^) | Saves this object in the provided XML element. |
![]() | ToString() | Returns a string representation of this test result message.(Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
![]() | m_duration | This API supports the product infrastructure and is not intended to be used directly from your code. Returns the value of the Duration property. |
![]() | m_endTime | Returns the value of the EndTime property. |
![]() | m_exception | Returns the value of the SystemException property. |
![]() | m_id | Returns the value of the P:Microsoft.VisualStudio.TestTools.Common.TestResultMessage.ID property. |
![]() | m_messageKind | Returns the value of the MessageKind property. |
![]() | m_spoolMessage | Returns the value of the SpoolMessage property. |
![]() | m_startTime | Returns the value of the StartTime property. |
![]() | m_testName | Returns the value of the TestName property. |
![]() | m_testType | Returns the value of the TestType property. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



