IHandleEvent.HandleEventAsync(EventCallbackWorkItem, Object) Method

Definition

Notifies the a state change has been triggered.

public:
 System::Threading::Tasks::Task ^ HandleEventAsync(Microsoft::AspNetCore::Components::EventCallbackWorkItem item, System::Object ^ arg);
public System.Threading.Tasks.Task HandleEventAsync (Microsoft.AspNetCore.Components.EventCallbackWorkItem item, object arg);
public System.Threading.Tasks.Task HandleEventAsync (Microsoft.AspNetCore.Components.EventCallbackWorkItem item, object? arg);
abstract member HandleEventAsync : Microsoft.AspNetCore.Components.EventCallbackWorkItem * obj -> System.Threading.Tasks.Task
Public Function HandleEventAsync (item As EventCallbackWorkItem, arg As Object) As Task

Parameters

item
EventCallbackWorkItem

The EventCallbackWorkItem associated with this event.

arg
Object

The argument associated with this event.

Returns

Task

A Task that completes once the component has processed the state change.

Applies to