Comment Sınıf
Bir Web performans testi test Tasarımcısı eklediği yorum temsil eder.
Devralma Hiyerarşisi
Object
Microsoft.VisualStudio.TestTools.WebTesting.WebTestItem
Microsoft.VisualStudio.TestTools.WebTesting.Comment
Ad alanı: Microsoft.VisualStudio.TestTools.WebTesting
Derleme: Microsoft.VisualStudio.QualityTools.WebTestFramework (Microsoft.VisualStudio.QualityTools.WebTestFramework.dll içinde)
Sözdizimi
'Bildirim
<SerializableAttribute> _
Public Class Comment _
Inherits WebTestItem
[SerializableAttribute]
public class Comment : WebTestItem
[SerializableAttribute]
public ref class Comment : public WebTestItem
[<SerializableAttribute>]
type Comment =
class
inherit WebTestItem
end
public class Comment extends WebTestItem
Comment türü aşağıdaki üyeleri ortaya koyar.
Oluşturucular
Ad | Açıklama | |
---|---|---|
Comment() | Yeni bir örneğini başlatır Comment sınıfı. | |
Comment(String) | Yeni bir örneğini başlatır Comment belirtilen bir dize kullanarak sınıf. |
Üst
Özellikler
Ad | Açıklama | |
---|---|---|
CommentText | Alır veya açıklama metni ayarlar. | |
ItemId | Sıfır tabanlı sıra numarası öğenin Web performansını sınayın. (WebTestItem kaynağından devralındı.) |
Üst
Yöntemler
Ad | Açıklama | |
---|---|---|
Clone | Yeni bir oluşturur Comment yani bir kopyasını geçerli Comment. (WebTestItem.Clone() geçersiz kılınır.) | |
Equals | Determines whether the specified object is equal to the current object. (Object kaynağından devralındı.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Object kaynağından devralındı.) | |
GetHashCode | Serves as the default hash function. (Object kaynağından devralındı.) | |
GetType | Gets the Type of the current instance. (Object kaynağından devralındı.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Object kaynağından devralındı.) | |
RuntimeClone | Bu nesnenin bir kopyası zamanında döndürür. (WebTestItem kaynağından devralındı.) | |
ToString | Returns a string that represents the current object. (Object kaynağından devralındı.) |
Üst
Notlar
Yorum bir Web performans test sonucu Web performans test kodu eklemek için arama AddCommentToResult yöntemi.
İş Parçacığı Güvenliği
Bu türün tüm genel statik (Visual Basic'te Shared) üyeleri iş parçacığı açısından güvenlidir. Hiçbir örnek üyesinin iş parçacığı açısından güvenliği garanti edilemez.