IUnsafeWebRequestCreate.Create(Uri) Method

Definition

Caution

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Initializes a new WebRequest for the specified URI scheme.

public:
 System::Net::WebRequest ^ Create(Uri ^ uri);
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public System.Net.WebRequest Create (Uri uri);
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
abstract member Create : Uri -> System.Net.WebRequest
Public Function Create (uri As Uri) As WebRequest

Parameters

uri
Uri

The URI of the requested resource.

Returns

Returns WebRequest.

A WebRequest descendant for the specified URI scheme.

Attributes

Applies to