Partager via


HttpClientHandler.Proxy Property

Gets or sets proxy information used by the handler.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public Property Proxy As IWebProxy 
    Get 
    Set
'Usage
Dim instance As HttpClientHandler 
Dim value As IWebProxy 

value = instance.Proxy

instance.Proxy = value
public IWebProxy Proxy { get; set; }
public:
property IWebProxy^ Proxy {
    IWebProxy^ get ();
    void set (IWebProxy^ value);
}
member Proxy : IWebProxy with get, set
function get Proxy () : IWebProxy 
function set Proxy (value : IWebProxy)

Property Value

Type: System.Net.IWebProxy

See Also

Reference

HttpClientHandler Class

System.Net.Http Namespace