Editare

Partajați prin


HttpMessageHandlerFactory Constructors

Definition

Initializes a new instance of the HttpMessageHandlerFactory class.

Overloads

HttpMessageHandlerFactory()

Initializes a new instance of the HttpMessageHandlerFactory class.

HttpMessageHandlerFactory(Func<IEnumerable<DelegatingHandler>>)

Initializes a new instance of the HttpMessageHandlerFactory class.

HttpMessageHandlerFactory(Type[])

Initializes a new instance of the HttpMessageHandlerFactory class with specified handler.

HttpMessageHandlerFactory()

Source:
HttpMessageHandlerFactory.cs
Source:
HttpMessageHandlerFactory.cs
Source:
HttpMessageHandlerFactory.cs

Initializes a new instance of the HttpMessageHandlerFactory class.

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

Applies to

HttpMessageHandlerFactory(Func<IEnumerable<DelegatingHandler>>)

Source:
HttpMessageHandlerFactory.cs
Source:
HttpMessageHandlerFactory.cs
Source:
HttpMessageHandlerFactory.cs

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

Parameters

handlers
Func<IEnumerable<DelegatingHandler>>

A collection of handlers.

Applies to

HttpMessageHandlerFactory(Type[])

Source:
HttpMessageHandlerFactory.cs
Source:
HttpMessageHandlerFactory.cs
Source:
HttpMessageHandlerFactory.cs

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

Parameters

handlers
Type[]

The handler.

Applies to