Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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