TestRunTextResultMessage Constructor (Guid, String, Exception)
Initializes a new instance of the TestRunTextResultMessage class.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
runId As Guid, _
messageText As String, _
exception As Exception _
)
public TestRunTextResultMessage(
Guid runId,
string messageText,
Exception exception
)
public:
TestRunTextResultMessage(
Guid runId,
String^ messageText,
Exception^ exception
)
new :
runId:Guid *
messageText:string *
exception:Exception -> TestRunTextResultMessage
public function TestRunTextResultMessage(
runId : Guid,
messageText : String,
exception : Exception
)
Parameters
runId
Type: GuidA Guid for the test run.
messageText
Type: StringThe text for the message.
exception
Type: ExceptionThe exception that precipitated this message.
.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
TestRunTextResultMessage Class