Bagikan melalui


IUnsafeWebRequestCreate.Create(Uri) Metode

Definisi

Perhatian

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

Menginisialisasi baru WebRequest untuk skema URI yang ditentukan.

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

Parameter

uri
Uri

URI sumber daya yang diminta.

Mengembalikan

Menampilkan WebRequest.

WebRequest Turunan untuk skema URI yang ditentukan.

Atribut

Berlaku untuk