InvocationsBuilderExtensions 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.
Extension methods for AgentHostBuilder to register the Invocations protocol for one-line startup.
public static class InvocationsBuilderExtensions
type InvocationsBuilderExtensions = class
Public Module InvocationsBuilderExtensions
- Inheritance
-
InvocationsBuilderExtensions
Methods
| Name | Description |
|---|---|
| AddInvocations(AgentHostBuilder, Func<IServiceProvider,InvocationHandler>, Action<InvocationsServerOptions>) |
Registers the Invocations protocol with a factory delegate that creates the handler. Use this overload when you need full control over handler construction while still having access to the IServiceProvider. |
| AddInvocations(AgentHostBuilder, InvocationHandler, Action<InvocationsServerOptions>) |
Registers the Invocations protocol with a pre-constructed handler instance. |
| AddInvocations<THandler>(AgentHostBuilder, Action<InvocationsServerOptions>) |
Registers the Invocations protocol with the agent server builder using the
specified |