AgentHostApp Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a configured and runnable agent server application. Wraps the underlying WebApplication and provides escape-hatch access for advanced scenarios.
public sealed class AgentHostApp
type AgentHostApp = class
Public NotInheritable Class AgentHostApp
- Inheritance
-
AgentHostApp
Properties
| Name | Description |
|---|---|
| App |
Escape hatch to the underlying WebApplication. Use this to add custom middleware, routes, or other ASP.NET Core configuration. |
Methods
| Name | Description |
|---|---|
| Run() |
Start the server and block until shutdown (SIGTERM or Ctrl+C). |
| RunAsync(CancellationToken) |
Start the server asynchronously. |