HttpClientHandler.SupportsRedirectConfiguration 属性

定义

获取一个值,该值表示处理程序是否支持 AllowAutoRedirectMaxAutomaticRedirections 属性的配置设置。Gets a value that indicates whether the handler supports configuration settings for the AllowAutoRedirect and MaxAutomaticRedirections properties.

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

属性值

如果处理程序支持 trueAllowAutoRedirect 属性的配置设置,则为 MaxAutomaticRedirections;否则为 falsetrue if the if the handler supports configuration settings for the AllowAutoRedirect and MaxAutomaticRedirections properties; otherwise false. 默认值为 trueThe default value is true.

适用于