HttpMessageHandlerFactory 构造函数

定义

初始化 HttpMessageHandlerFactory 类的新实例。

重载

HttpMessageHandlerFactory()

初始化 HttpMessageHandlerFactory 类的新实例。

HttpMessageHandlerFactory(Func<IEnumerable<DelegatingHandler>>)

初始化 HttpMessageHandlerFactory 类的新实例。

HttpMessageHandlerFactory(Type[])

用指定的处理程序初始化 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[]

处理程序。

适用于