HttpPolicyDownloaderProtocol.RegisterUnsafeWebRequestCreator 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 的对象。
- 属性