获取或设置 Web 性能测试上下文中的上下文参数的名称。
命名空间: Microsoft.VisualStudio.TestTools.WebTesting
程序集: Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
语法
声明
Public Property ContextParameterName As String
Get
Set
public string ContextParameterName { get; set; }
public:
property String^ ContextParameterName {
String^ get ();
void set (String^ value);
}
member ContextParameterName : string with get, set
function get ContextParameterName () : String
function set ContextParameterName (value : String)
属性值
类型:System.String
Web 性能测试上下文中的上下文参数的名称。
备注
ContextParameterName 是 Web 性能测试的上下文(其中,引用的提取规则所提取的值将在运行时放置)中上下文参数的名称。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。