Export (0) Print
Expand All

WebServicesClientProtocol.GetWebRequest Method

Creates a System.Net.WebRequest instance for the specified URI.

Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Public Class webServicesClientProtocolImplementation
	Inherits WebServicesClientProtocol
		Protected Overrides Function GetWebRequest(uri As Uri)
		End Function
End Class

protected override WebRequest GetWebRequest(
	Uri uri
protected override WebRequest GetWebRequest(
	Uri uri
protected override function GetWebRequest(
	 uri : Uri
) : WebRequest;



The Uri to use when creating the System.Net.WebRequest.

Return Value

A WebRequest that represents a request to a specified URI.

Exception typeCondition

uri is not accessible through HTTP or HTTPS.


uri is null.

This protected method is called by the .NET Framework SDK to make a synchronous request to an XML Web service.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

© 2015 Microsoft