Udostępnij za pośrednictwem


Comment Class

Represents a comment that the test designer adds to a Web test.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class Comment _
    Inherits WebTestItem
'Usage
Dim instance As Comment
[SerializableAttribute]
public class Comment : WebTestItem
[SerializableAttribute]
public ref class Comment : public WebTestItem
public class Comment extends WebTestItem

Remarks

To add a comment to a Web test result from Web test code, call the AddCommentToResult method.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestItem
    Microsoft.VisualStudio.TestTools.WebTesting.Comment

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Comment Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace