PostWebTestRecordingEventArgs 类
用于预先 Web 性能测试和后期 Web 性能测试记录标注的事件参数。
继承层次结构
System.Object
System.EventArgs
Microsoft.VisualStudio.TestTools.WebTesting.PostWebTestRecordingEventArgs
命名空间: Microsoft.VisualStudio.TestTools.WebTesting
程序集: Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
语法
声明
Public Class PostWebTestRecordingEventArgs _
Inherits EventArgs
public class PostWebTestRecordingEventArgs : EventArgs
public ref class PostWebTestRecordingEventArgs : public EventArgs
type PostWebTestRecordingEventArgs =
class
inherit EventArgs
end
public class PostWebTestRecordingEventArgs extends EventArgs
PostWebTestRecordingEventArgs 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
IsRecordingForNewWebTest | 获取一个值,该值指示此 Web 性能测试是新 Web 性能测试还是对现有 Web 性能测试的插入。 | |
RecordedWebTest | 获取记录后对 Web 性能测试的引用。 | |
RecordedWebTestDeploymentItems | 添加到此集合的项将作为部署项添加到 Web 性能测试中。 | |
RecordedWebTestModified | 获取或设置插件是否修改事件处理程序中记录的 Web 性能测试的内容的指示。 | |
RecordedWebTestResult | 获取对 WebTestResultIteration 对象的引用,该对象包含在记录会话期间发生的 HTTP 请求和响应的所有详细信息。 |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。) | |
Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | |
GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | |
GetType | 获取当前实例的 Type。 (继承自 Object。) | |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参见
参考
Microsoft.VisualStudio.TestTools.WebTesting 命名空间