CircuitHandler.CreateInboundActivityHandler 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.
Creates a handler that gets invoked when inbound activity on the circuit causes an asynchronous task to be dispatched on the server.
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);
abstract member CreateInboundActivityHandler : Func<Microsoft.AspNetCore.Components.Server.Circuits.CircuitInboundActivityContext, System.Threading.Tasks.Task> -> Func<Microsoft.AspNetCore.Components.Server.Circuits.CircuitInboundActivityContext, System.Threading.Tasks.Task>
override this.CreateInboundActivityHandler : Func<Microsoft.AspNetCore.Components.Server.Circuits.CircuitInboundActivityContext, System.Threading.Tasks.Task> -> Func<Microsoft.AspNetCore.Components.Server.Circuits.CircuitInboundActivityContext, System.Threading.Tasks.Task>
Public Overridable Function CreateInboundActivityHandler (next As Func(Of CircuitInboundActivityContext, Task)) As Func(Of CircuitInboundActivityContext, Task)
Parameters
The next handler to invoke.
Returns
A handler function that returns a Task that completes when the activity has finished.