WebTestRequest.EncodeRedirectedUrl 屬性

取得或設定布林值,這個值表示是否要加密重新導向 URL 的查詢字串參數。

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

語法

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

屬性值

型別:System.Boolean
如果需要編碼,則為 true,否則為 false。預設值是設為 true。

.NET Framework 安全性

請參閱

參考

WebTestRequest 類別

Microsoft.VisualStudio.TestTools.WebTesting 命名空間