ClientHandler 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建新的处理程序。
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>