Språk

IUnsafeWebRequestCreate.Create(Uri) Metod

Definition

Varning

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

Initierar en ny WebRequest för det angivna URI-schemat.

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

Parametrar

uri
Uri

URI:n för den begärda resursen.

Returer

Returnerar WebRequest.

En WebRequest underordnad för det angivna URI-schemat.

Attribut

Gäller för