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>