次の方法で共有


HttpTransportBindingElement.ProxyAuthenticationScheme プロパティ

定義

HTTP プロキシによって処理されるクライアント要求の認証に使用される認証スキームを取得または設定します。

public:
 property System::Net::AuthenticationSchemes ProxyAuthenticationScheme { System::Net::AuthenticationSchemes get(); void set(System::Net::AuthenticationSchemes value); };
public System.Net.AuthenticationSchemes ProxyAuthenticationScheme { get; set; }
member this.ProxyAuthenticationScheme : System.Net.AuthenticationSchemes with get, set
Public Property ProxyAuthenticationScheme As AuthenticationSchemes

プロパティ値

プロキシでのクライアント認証に使用されるプロトコルを指定する AuthenticationSchemes 列挙体。 既定値は、Anonymous です。

次の例では、 ProxyAddress プロパティで指定されたプロキシに要求を送信するときに使用するプロパティを設定します。

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

適用対象