Language

AgenticUserEnabledHandler Delegate

Definition

Delegate for handling agentic user enabled lifecycle event activities.

public delegate System.Threading.Tasks.Task AgenticUserEnabledHandler(Context<AgentLifecycleEventActivity<AgenticUserEnabledValue>> context, CancellationToken cancellationToken = default);
type AgenticUserEnabledHandler = delegate of Context<AgentLifecycleEventActivity<AgenticUserEnabledValue>> * CancellationToken -> Task
Public Delegate Function AgenticUserEnabledHandler(context As Context(Of AgentLifecycleEventActivity(Of AgenticUserEnabledValue)), Optional cancellationToken As CancellationToken = Nothing) As Task 

Parameters

context
Context<AgentLifecycleEventActivity<AgenticUserEnabledValue>>

The context for the lifecycle event activity.

cancellationToken
CancellationToken

A cancellation token that can be used to cancel the operation.

Return Value

A task representing the asynchronous operation.

Applies to