IResultSink.AddResult Method
Adds the message to the result sink.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Sub AddResult ( _
testMessage As TestMessage _
)
void AddResult(
TestMessage testMessage
)
void AddResult(
TestMessage^ testMessage
)
abstract AddResult :
testMessage:TestMessage -> unit
function AddResult(
testMessage : TestMessage
)
Parameters
testMessage
Type: Microsoft.VisualStudio.TestTools.Common.TestMessageThe TestMessage to add to the result sink.
.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.