HttpPolicyDownloaderProtocol.RegisterUnsafeWebRequestCreator 方法

定义

注意

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

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

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 的对象。

属性

适用于