HttpTransportBindingElement.ProxyAddress 속성

정의

HTTP 요청에 사용할 프록시의 주소를 포함하는 URI를 가져오거나 설정합니다.

public:
 property Uri ^ ProxyAddress { Uri ^ get(); void set(Uri ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.UriTypeConverter))]
public Uri ProxyAddress { get; set; }
public Uri ProxyAddress { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.UriTypeConverter))>]
member this.ProxyAddress : Uri with get, set
member this.ProxyAddress : Uri with get, set
Public Property ProxyAddress As Uri

속성 값

Uri

프록시의 주소를 포함하는 Uri입니다. 기본값은 null입니다.

특성

예제

다음 예제에서는 바인딩에 대한 요청을 수행할 때 이 속성을 사용하도록 설정합니다. 설정되고 엔드포인트가 로컬 엔드포인트가 아닌 한 BypassProxyOnLocal 모든 요청은 이 프록시를 true 통해 라우팅됩니다.

HttpTransportBindingElement httpBinding = new HttpTransportBindingElement();  
httpBinding.ProxyAddress = new Uri(http://proxyserver);  

적용 대상