Creates a WebRequest for the specified URI.
[Visual Basic] Overrides Protected Function GetWebRequest( _ ByVal uri As Uri _ ) As WebRequest [C#] protected override WebRequest GetWebRequest( Uri uri ); [C++] protected: WebRequest* GetWebRequest( Uri* uri ); [JScript] protected override function GetWebRequest( uri : Uri ) : WebRequest;
The made WebRequest.
| Exception Type | Condition |
|---|---|
| InvalidOperationException | The uri parameter is a null reference (Nothing in Visual Basic). |
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
HttpWebClientProtocol Class | HttpWebClientProtocol Members | System.Web.Services.Protocols Namespace