Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

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)

'Usage
Public Class webServicesClientProtocolImplementation
	Inherits WebServicesClientProtocol
		Protected Overrides Function GetWebRequest(uri As Uri)
			MyBase.GetWebRequest(uri)
		End Function
End Class

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

Parameters

uri

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

Return Value

A WebRequest that represents a request to a specified URI.
Exception typeCondition
ArgumentException

uri is not accessible through HTTP or HTTPS.

InvalidOperationException

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.