WebTestResultComment Class
Represents the comment body of a Web performance test result.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultUnit
Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultComment
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class WebTestResultComment _
Inherits WebTestResultUnit _
Implements ICloneable
[SerializableAttribute]
public class WebTestResultComment : WebTestResultUnit,
ICloneable
[SerializableAttribute]
public ref class WebTestResultComment : public WebTestResultUnit,
ICloneable
[<SerializableAttribute>]
type WebTestResultComment =
class
inherit WebTestResultUnit
interface ICloneable
end
public class WebTestResultComment extends WebTestResultUnit implements ICloneable
The WebTestResultComment type exposes the following members.
Properties
Name | Description | |
---|---|---|
Comment | Gets or sets a text comment. | |
DeclarativeWebTestItemId | Gets or sets the ID of this request in a declarative test. (Inherited from WebTestResultUnit.) | |
IsCompleted | Gets a Boolean value that indicates whether the result status is Completed. (Inherited from WebTestResultUnit.) | |
IsSkipped | Gets a Boolean value that indicates whether this request was skipped. (Inherited from WebTestResultUnit.) | |
Passed | Gets the Boolean value that indicates whether the Web performance test passed. (Overrides WebTestResultUnit.Passed.) | |
ResultStatus | Gets or sets the WebTestResultStatus of this page or request. (Inherited from WebTestResultUnit.) | |
SourceWebTestId | Gets or sets the ID of the Web performance test. (Inherited from WebTestResultUnit.) |
Top
Methods
Name | Description | |
---|---|---|
Clone | Creates a new WebTestResultComment that is a copy of the current instance. (Overrides WebTestResultUnit.Clone().) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetRequestSize | Gets the size of the test request. (Overrides WebTestResultUnit.GetRequestSize().) | |
GetResponseSize | Gets the size of the response that is sent for the test request. (Overrides WebTestResultUnit.GetResponseSize().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
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.