Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the TextTestResultMessage class by using the ID of the test run, the test element, and the message.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
runId As Guid, _
test As ITestElement, _
messageText As String _
)
public TextTestResultMessage(
Guid runId,
ITestElement test,
string messageText
)
public:
TextTestResultMessage(
Guid runId,
ITestElement^ test,
String^ messageText
)
new :
runId:Guid *
test:ITestElement *
messageText:string -> TextTestResultMessage
public function TextTestResultMessage(
runId : Guid,
test : ITestElement,
messageText : String
)
Parameters
runId
Type: GuidA Guid for the test run.
test
Type: Microsoft.VisualStudio.TestTools.Common.ITestElementAn ITestElement object.
messageText
Type: StringMessage that is used by the tests to send additional information.
.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.
See Also
Reference
TextTestResultMessage Overload