MetadataExchangeClient.GetWebRequest(Uri, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When 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
Parameters
- location
- Uri
The location of the metadata.
- dialect
- String
The dialect of the metadata.
- identifier
- String
The identifier of the metadata.
Returns
The internal HttpWebRequest used to make HTTP GET metadata requests.
Remarks
The GetWebRequest method is called:
When there is an attempt to resolve a System.ServiceModel.Description.MetadataLocation.
When MetadataExchangeClientMode.HttpGet is used.