Bewerken

Delen via


HttpWebClientProtocol.GetWebRequest(Uri) Method

Definition

Creates a WebRequest for the specified URI.

protected:
 override System::Net::WebRequest ^ GetWebRequest(Uri ^ uri);
protected override System.Net.WebRequest GetWebRequest (Uri uri);
override this.GetWebRequest : Uri -> System.Net.WebRequest
Protected Overrides Function GetWebRequest (uri As Uri) As WebRequest

Parameters

uri
Uri

The Uri for creating the WebRequest.

Returns

The created WebRequest.

Exceptions

The uri parameter is null.

Applies to