MetadataExchangeClient.HttpCredentials 属性

定义

获取或设置用于发出 HTTP/GET 请求的凭据。

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

属性值

ICredentials 对象用于建立申请凭据。

注解

使用 HttpCredentials 属性可自定义当使用 HTTP/GET 请求元数据时 MetadataExchangeClient 所使用的安全凭据。

适用于