ClientHandler 构造函数

定义

创建新的处理程序。

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

参数

pathBase
PathString

基路径。

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

IHttpApplication<TContext>

适用于