HttpClientHandler.UseProxy 属性    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值表示处理程序是否对请求使用代理。
public:
 property bool UseProxy { bool get(); void set(bool value); };public bool UseProxy { get; set; }[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public bool UseProxy { get; set; }member this.UseProxy : bool with get, set[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.UseProxy : bool with get, setPublic Property UseProxy As Boolean属性值
如果处理程序应对请求使用代理,则为 true;否则为 false。 默认值为 true。
- 属性