DateTimeWebTestPlugin 类

继承层次结构

Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestPlugin
    Microsoft.VisualStudio.TestTools.WebTesting.RequestPlugins.DateTimeWebTestPlugin

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting.RequestPlugins
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public Class DateTimeWebTestPlugin _
    Inherits WebTestPlugin
public class DateTimeWebTestPlugin : WebTestPlugin
public ref class DateTimeWebTestPlugin : public WebTestPlugin
type DateTimeWebTestPlugin =  
    class 
        inherit WebTestPlugin 
    end
public class DateTimeWebTestPlugin extends WebTestPlugin

DateTimeWebTestPlugin 类型公开以下成员。

构造函数

  名称 说明
公共方法 DateTimeWebTestPlugin

页首

属性

  名称 说明
公共属性 AddDays
公共属性 AddHours
公共属性 AddMilliseconds
公共属性 AddMinutes
公共属性 AddMonths
公共属性 AddSeconds
公共属性 AddYears
公共属性 ContextParameterName
公共属性 InputDateTime
公共属性 OutputFormat
公共属性 OutputJsonDateTime
公共属性 UseCurrentTime
公共属性 UseLocalTime

页首

方法

  名称 说明
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 在垃圾回收将某一对象回收前允许该对象尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 PostPage 如果在派生类中重写,则表示将处理与网页完成关联的事件的方法。 (继承自 WebTestPlugin。)
公共方法 PostRequest 如果在派生类中重写,则表示将处理与 HTTP 请求完成关联的事件的方法。 (继承自 WebTestPlugin。)
公共方法 PostTransaction 当在派生类中重写时,代表将处理与在Web 性能测试中定义的冲突完成关联的事件的方法。 (继承自 WebTestPlugin。)
公共方法 PostWebTest 如果在派生类中重写,则表示将处理与 Web 性能测试末尾关联的事件的方法。 (继承自 WebTestPlugin。)
公共方法 PrePage 当在派生类中重写时,表示将处理与网页开始相关联的事件的方法。 (继承自 WebTestPlugin。)
公共方法 PreRequest 当在派生类中重写时,表示将处理与 HTTP 请求开始相关联的事件的方法。 (继承自 WebTestPlugin。)
公共方法 PreRequestDataBinding 如果在派生类中重写,则表示将处理与数据绑定开始关联的事件的方法。 (继承自 WebTestPlugin。)
公共方法 PreTransaction 当在派生类中重写时,代表将会处理与在Web 性能测试中定义的冲突开始相关联的事件的方法。 (继承自 WebTestPlugin。)
公共方法 PreWebTest (重写 WebTestPlugin.PreWebTest(Object, PreWebTestEventArgs)。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.VisualStudio.TestTools.WebTesting.RequestPlugins 命名空间