Tip.MergeResults Method
Merges an incoming test result text message into a test result in memory.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Overridable Function MergeResults ( _
inMemory As TestResult, _
fromTheWire As TestResultMessage _
) As TestResult
public virtual TestResult MergeResults(
TestResult inMemory,
TestResultMessage fromTheWire
)
public:
virtual TestResult^ MergeResults(
TestResult^ inMemory,
TestResultMessage^ fromTheWire
)
abstract MergeResults :
inMemory:TestResult *
fromTheWire:TestResultMessage -> TestResult
override MergeResults :
inMemory:TestResult *
fromTheWire:TestResultMessage -> TestResult
public function MergeResults(
inMemory : TestResult,
fromTheWire : TestResultMessage
) : TestResult
Parameters
inMemory
Type: Microsoft.VisualStudio.TestTools.Common.TestResultA TestResult object. If inMemory is nulla null reference (Nothing in Visual Basic), an instance of TestResult is created.
fromTheWire
Type: Microsoft.VisualStudio.TestTools.Common.TestResultMessageA TextTestResultMessage to be added to the object in the inMemory parameter.
Return Value
Type: Microsoft.VisualStudio.TestTools.Common.TestResult
A TestResult object that contains the new test results.
Implements
ITip.MergeResults(TestResult, TestResultMessage)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.