WebTestRequest.FollowRedirects 屬性

取得或設定值,指出是否要接受重新導向。

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

'宣告
Public Property FollowRedirects As Boolean
    Get
    Set
public bool FollowRedirects { get; set; }
public:
property bool FollowRedirects {
    bool get ();
    void set (bool value);
}
member FollowRedirects : bool with get, set
function get FollowRedirects () : boolean
function set FollowRedirects (value : boolean)

屬性值

型別:System.Boolean
如果接受重新導向,則為 true,否則為 false。預設值為 true。

.NET Framework 安全性

請參閱

參考

WebTestRequest 類別

Microsoft.VisualStudio.TestTools.WebTesting 命名空間