ValidationRuleRequestTime.MaxRequestTime 属性
获取或设置请求可以运行的最长时间。
命名空间: Microsoft.VisualStudio.TestTools.WebTesting.Rules
程序集: Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
语法
声明
Public Property MaxRequestTime As Integer
public int MaxRequestTime { get; set; }
public:
property int MaxRequestTime {
int get ();
void set (int value);
}
member MaxRequestTime : int with get, set
function get MaxRequestTime () : int
function set MaxRequestTime (value : int)
属性值
类型:System.Int32
请求可以运行的最长时间。以毫秒为单位。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。