WebTest.AddCommentToResult Method
Adds a comment to the Web test result following the most recently completed Web test request, transaction, or included Web test.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Sub AddCommentToResult ( _
comment As String _
)
'Usage
Dim instance As WebTest
Dim comment As String
instance.AddCommentToResult(comment)
public void AddCommentToResult(
string comment
)
public:
void AddCommentToResult(
String^ comment
)
public function AddCommentToResult(
comment : String
)
Parameters
comment
Type: System.StringA string that contains the comment text.
.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.