Create Method
Collapse the table of content
Expand the table of content

IUnsafeWebRequestCreate.Create Method (Uri)

.NET Framework 4.6 and 4.5
Note: This API is now obsolete.

Initializes a new WebRequest for the specified URI scheme.

Namespace:   System.Net
Assembly:  System.Net (in System.Net.dll)

<ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.",
Function Create (
	uri As Uri
) As WebRequest


Type: System.Uri

The URI of the requested resource.

Return Value

Type: System.Net.WebRequest

Returns WebRequest.

A WebRequest descendant for the specified URI scheme.

.NET Framework
Available since 4.5
Return to top
© 2015 Microsoft