InvocationsServerServiceCollectionExtensions.AddInvocationsServer 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.
Registers the Invocations API server SDK services into the dependency injection container.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddInvocationsServer(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Azure.AI.AgentServer.Invocations.InvocationsServerOptions>? configure = default);
static member AddInvocationsServer : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Azure.AI.AgentServer.Invocations.InvocationsServerOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddInvocationsServer (services As IServiceCollection, Optional configure As Action(Of InvocationsServerOptions) = Nothing) As IServiceCollection
Parameters
- services
- IServiceCollection
The service collection to add services to.
- configure
- Action<InvocationsServerOptions>
Optional callback to configure InvocationsServerOptions.
Returns
The service collection for chaining.