InvocationsServerServiceCollectionExtensions.AddInvocationsServer Method

Definition

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.

Applies to