Language

AgenticUserDisabledHandler Delegate

Definition

Delegate for handling agentic user disabled lifecycle event activities.

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

Parameters

context
Context<AgentLifecycleEventActivity<AgenticUserDisabledValue>>

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