共用方式為


IHandleEvent.HandleEventAsync(EventCallbackWorkItem, Object) 方法

定義

通知狀態變更已觸發。

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

參數

item
EventCallbackWorkItem

與這個事件關聯的 EventCallbackWorkItem

arg
Object

與此事件相關聯的引數。

傳回

Task 在元件處理狀態變更後完成。

適用於