CircuitHandler.CreateInboundActivityHandler Method

Definition

Creates a handler that gets invoked when inbound activity on the circuit causes an asynchronous task to be dispatched on the server.

C#
public virtual Func<Microsoft.AspNetCore.Components.Server.Circuits.CircuitInboundActivityContext,System.Threading.Tasks.Task> CreateInboundActivityHandler (Func<Microsoft.AspNetCore.Components.Server.Circuits.CircuitInboundActivityContext,System.Threading.Tasks.Task> next);

Parameters

next
Func<CircuitInboundActivityContext,Task>

The next handler to invoke.

Returns

A handler function that returns a Task that completes when the activity has finished.

Applies to

Product Versions
ASP.NET Core 8.0, 9.0