共用方式為


IUnsafeWebRequestCreate.Create(Uri) 方法

定義

警告

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

初始化指定之 URI 配置的新 WebRequest 執行個體。

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

參數

uri
Uri

所要求資源的 URI。

傳回

傳回 WebRequest

WebRequest 子代,屬於指定的 URI 配置。

屬性

適用於