MetadataExchangeClient.GetWebRequest(Uri, String, String) 方法

定义

当在派生类中重写时,返回用于发出 HTTP/GET 元数据请求的 HttpWebRequestWhen overridden in a derived class, returns the HttpWebRequest used to make HTTP/GET metadata requests.

protected public:
 virtual System::Net::HttpWebRequest ^ GetWebRequest(Uri ^ location, System::String ^ dialect, System::String ^ identifier);
protected internal virtual System.Net.HttpWebRequest GetWebRequest (Uri location, string dialect, string identifier);
abstract member GetWebRequest : Uri * string * string -> System.Net.HttpWebRequest
override this.GetWebRequest : Uri * string * string -> System.Net.HttpWebRequest
Protected Friend Overridable Function GetWebRequest (location As Uri, dialect As String, identifier As String) As HttpWebRequest

参数

location
Uri

元数据的位置。The location of the metadata.

dialect
String

元数据的方言。The dialect of the metadata.

identifier
String

元数据的标识符。The identifier of the metadata.

返回

HttpWebRequest

用于发出 HTTP GET 元数据请求的内部 HttpWebRequestThe internal HttpWebRequest used to make HTTP GET metadata requests.

注解

在以下情况下调用 GetWebRequest 方法:The GetWebRequest method is called:

适用于