This documentation is archived and is not being maintained.

MetadataExchangeClient.GetWebRequest Method

When overridden in a derived class, returns the HttpWebRequest used to make HTTP/GET metadata requests.

Namespace:  System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected internal virtual HttpWebRequest GetWebRequest(
	Uri location,
	string dialect,
	string identifier
)

Parameters

location
Type: System.Uri

The location of the metadata.

dialect
Type: System.String

The dialect of the metadata.

identifier
Type: System.String

The identifier of the metadata.

Return Value

Type: System.Net.HttpWebRequest
The internal HttpWebRequest used to make HTTP GET metadata requests.

The GetWebRequest method is called:

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: