共用方式為


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>

適用於