HttpMessageHandlerFactory 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 HttpMessageHandlerFactory 类的新实例。
重载
HttpMessageHandlerFactory()
初始化 HttpMessageHandlerFactory 类的新实例。
protected:
HttpMessageHandlerFactory();
protected HttpMessageHandlerFactory ();
Protected Sub New ()
适用于
HttpMessageHandlerFactory(Func<IEnumerable<DelegatingHandler>>)
初始化 HttpMessageHandlerFactory 类的新实例。
public:
HttpMessageHandlerFactory(Func<System::Collections::Generic::IEnumerable<System::Net::Http::DelegatingHandler ^> ^> ^ handlers);
public HttpMessageHandlerFactory (Func<System.Collections.Generic.IEnumerable<System.Net.Http.DelegatingHandler>> handlers);
new System.ServiceModel.Channels.HttpMessageHandlerFactory : Func<seq<System.Net.Http.DelegatingHandler>> -> System.ServiceModel.Channels.HttpMessageHandlerFactory
Public Sub New (handlers As Func(Of IEnumerable(Of DelegatingHandler)))
参数
- handlers
- Func<IEnumerable<DelegatingHandler>>
处理程序的集合。
适用于
HttpMessageHandlerFactory(Type[])
用指定的处理程序初始化 HttpMessageHandlerFactory 类的新实例。
public:
HttpMessageHandlerFactory(... cli::array <Type ^> ^ handlers);
public HttpMessageHandlerFactory (params Type[] handlers);
new System.ServiceModel.Channels.HttpMessageHandlerFactory : Type[] -> System.ServiceModel.Channels.HttpMessageHandlerFactory
Public Sub New (ParamArray handlers As Type())
参数
- handlers
- Type[]
处理程序。