WebTestContext.IsNewUser 屬性
取得值,指出 Web 效能測試是否在目標 Web 網站的新使用者內容中執行。
命名空間: Microsoft.VisualStudio.TestTools.WebTesting
組件: Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
語法
'宣告
Public Property IsNewUser As Boolean
Get
Friend Set
public bool IsNewUser { get; internal set; }
public:
property bool IsNewUser {
bool get ();
internal: void set (bool value);
}
member IsNewUser : bool with get, internal set
function get IsNewUser () : boolean
internal function set IsNewUser (value : boolean)
屬性值
型別:System.Boolean
如果 Web 效能測試是在新使用者內容中執行則為 true,否則為 false。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。