共用方式為


HttpRequestHeaderCollection.ProxyAuthorization 屬性

定義

取得或設定 HttpCredentialsHeaderValue 物件,代表 HTTP 要求上 Proxy-Authorization HTTP 標頭的值。

public:
 property HttpCredentialsHeaderValue ^ ProxyAuthorization { HttpCredentialsHeaderValue ^ get(); void set(HttpCredentialsHeaderValue ^ value); };
HttpCredentialsHeaderValue ProxyAuthorization();

void ProxyAuthorization(HttpCredentialsHeaderValue value);
public HttpCredentialsHeaderValue ProxyAuthorization { get; set; }
var httpCredentialsHeaderValue = httpRequestHeaderCollection.proxyAuthorization;
httpRequestHeaderCollection.proxyAuthorization = httpCredentialsHeaderValue;
Public Property ProxyAuthorization As HttpCredentialsHeaderValue

屬性值

物件,表示 HTTP 要求上 Proxy 授權 HTTP 標頭的值。 Null 值表示標頭不存在。

適用於

另請參閱