Share via


ClientHandler Constructor

Definition

Create a new handler.

public:
 ClientHandler(Microsoft::AspNetCore::Http::PathString pathBase, Microsoft::AspNetCore::Hosting::Server::IHttpApplication<Microsoft::AspNetCore::Hosting::Internal::HostingApplication::Context> ^ application);
public ClientHandler (Microsoft.AspNetCore.Http.PathString pathBase, Microsoft.AspNetCore.Hosting.Server.IHttpApplication<Microsoft.AspNetCore.Hosting.Internal.HostingApplication.Context> application);
new Microsoft.AspNetCore.TestHost.ClientHandler : Microsoft.AspNetCore.Http.PathString * Microsoft.AspNetCore.Hosting.Server.IHttpApplication<Microsoft.AspNetCore.Hosting.Internal.HostingApplication.Context> -> Microsoft.AspNetCore.TestHost.ClientHandler
Public Sub New (pathBase As PathString, application As IHttpApplication(Of HostingApplication.Context))

Parameters

pathBase
PathString

The base path.

application
IHttpApplication<Microsoft.AspNetCore.Hosting.Internal.HostingApplication.Context>

The IHttpApplication<TContext>.

Applies to