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 方案的 WebRequest 子代。

属性

适用于