HttpClientHandler.SupportsRedirectConfiguration 属性

定义

获取一个值,该值指示处理程序是否支持配置 AllowAutoRedirect 设置和 MaxAutomaticRedirections 属性。

public:
 virtual property bool SupportsRedirectConfiguration { bool get(); };
public virtual bool SupportsRedirectConfiguration { get; }
member this.SupportsRedirectConfiguration : bool
Public Overridable ReadOnly Property SupportsRedirectConfiguration As Boolean

属性值

true 如果处理程序支持配置设置 AllowAutoRedirectMaxAutomaticRedirections 属性,则为 ;否则为 false。 默认值为 true

适用于