HttpPolicyDownloaderProtocol.RegisterUnsafeWebRequestCreator 方法

定义

注意

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

注册对象以创建不安全 WebRequest 的统一资源标识符(URI)。

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

参数

creator
IUnsafeWebRequestCreate

要创建不安全 WebRequest的对象。

属性

适用于