共用方式為


HttpMessageHandlerFactory 建構函式

定義

初始化 HttpMessageHandlerFactory 類別的新執行個體。

多載

HttpMessageHandlerFactory()

初始化 HttpMessageHandlerFactory 類別的新執行個體。

HttpMessageHandlerFactory(Func<IEnumerable<DelegatingHandler>>)

初始化 HttpMessageHandlerFactory 類別的新執行個體。

HttpMessageHandlerFactory(Type[])

使用指定的處理常式,初始化 HttpMessageHandlerFactory 類別的新執行個體。

HttpMessageHandlerFactory()

來源:
HttpMessageHandlerFactory.cs
來源:
HttpMessageHandlerFactory.cs
來源:
HttpMessageHandlerFactory.cs

初始化 HttpMessageHandlerFactory 類別的新執行個體。

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

適用於

HttpMessageHandlerFactory(Func<IEnumerable<DelegatingHandler>>)

來源:
HttpMessageHandlerFactory.cs
來源:
HttpMessageHandlerFactory.cs
來源:
HttpMessageHandlerFactory.cs

初始化 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.cs
來源:
HttpMessageHandlerFactory.cs
來源:
HttpMessageHandlerFactory.cs

使用指定的處理常式,初始化 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[]

處理常式。

適用於