WebRequest.RegisterPortableWebRequestCreator(IWebRequestCreate) WebRequest.RegisterPortableWebRequestCreator(IWebRequestCreate) WebRequest.RegisterPortableWebRequestCreator(IWebRequestCreate) WebRequest.RegisterPortableWebRequestCreator(IWebRequestCreate) Method

定义

警告

此 API 现已过时。

注册 IWebRequestCreate 对象。Register an IWebRequestCreate object.

public:
 static void RegisterPortableWebRequestCreator(System::Net::IWebRequestCreate ^ creator);
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public static void RegisterPortableWebRequestCreator (System.Net.IWebRequestCreate creator);
static member RegisterPortableWebRequestCreator : System.Net.IWebRequestCreate -> unit
Public Shared Sub RegisterPortableWebRequestCreator (creator As IWebRequestCreate)

参数

适用于