IUnsafeWebRequestCreate::Create Method (Uri^)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.", 
	true)]
WebRequest^ Create(
	Uri^ uri
)

Parameters

uri
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
Show: