HttpMessageHandlerFactory 建構函式

定義

初始化 HttpMessageHandlerFactory 類別的新執行個體。Initializes a new instance of the HttpMessageHandlerFactory class.

多載

HttpMessageHandlerFactory()

初始化 HttpMessageHandlerFactory 類別的新執行個體。Initializes a new instance of the HttpMessageHandlerFactory class.

HttpMessageHandlerFactory(Func<IEnumerable<DelegatingHandler>>)

初始化 HttpMessageHandlerFactory 類別的新執行個體。Initializes a new instance of the HttpMessageHandlerFactory class.

HttpMessageHandlerFactory(Type[])

使用指定的處理常式,初始化 HttpMessageHandlerFactory 類別的新執行個體。Initializes a new instance of the HttpMessageHandlerFactory class with specified handler.

HttpMessageHandlerFactory()

初始化 HttpMessageHandlerFactory 類別的新執行個體。Initializes a new instance of the HttpMessageHandlerFactory class.

protected:
 HttpMessageHandlerFactory();
protected HttpMessageHandlerFactory ();
Protected Sub New ()

HttpMessageHandlerFactory(Func<IEnumerable<DelegatingHandler>>)

初始化 HttpMessageHandlerFactory 類別的新執行個體。Initializes a new instance of the HttpMessageHandlerFactory class.

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>>

處理常式的集合。A collection of handlers.

HttpMessageHandlerFactory(Type[])

使用指定的處理常式,初始化 HttpMessageHandlerFactory 類別的新執行個體。Initializes a new instance of the HttpMessageHandlerFactory class with specified handler.

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[]

處理常式。The handler.

適用於