AgentHostBuilder.ConfigureShutdown(TimeSpan) Method
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.
Set the graceful shutdown timeout.
This is a convenience shorthand for Configure(o => o.ShutdownTimeout = timeout).
public Azure.AI.AgentServer.Core.AgentHostBuilder ConfigureShutdown(TimeSpan timeout);
member this.ConfigureShutdown : TimeSpan -> Azure.AI.AgentServer.Core.AgentHostBuilder
Public Function ConfigureShutdown (timeout As TimeSpan) As AgentHostBuilder
Parameters
- timeout
- TimeSpan
The maximum duration to wait for in-flight requests during shutdown.
Returns
This builder for chaining.