WebTestRequest.IsRedirectFollow 属性

获取一个值,该值指示请求的创建是否是由于遵循了重定向。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
<BrowsableAttribute(False)> _
Public Property IsRedirectFollow As Boolean
    Get
    Friend Set
[BrowsableAttribute(false)]
public bool IsRedirectFollow { get; internal set; }
[BrowsableAttribute(false)]
public:
property bool IsRedirectFollow {
    bool get ();
    internal: void set (bool value);
}
[<BrowsableAttribute(false)>]
member IsRedirectFollow : bool with get, internal set
function get IsRedirectFollow () : boolean
internal function set IsRedirectFollow (value : boolean)

属性值

类型:System.Boolean
如果请求是由重定向创建的,则为 true;否则为 false。默认值为 false。

.NET Framework 安全性

请参见

参考

WebTestRequest 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间