EventCallback.InvokeAsync Method

Definition

Overloads

InvokeAsync()

Invokes the delegate associated with this binding and dispatches an event notification to the appropriate component.

InvokeAsync(Object)

Invokes the delegate associated with this binding and dispatches an event notification to the appropriate component.

InvokeAsync()

Source:
EventCallback.cs
Source:
EventCallback.cs
Source:
EventCallback.cs
Source:
EventCallback.cs
Source:
EventCallback.cs

Invokes the delegate associated with this binding and dispatches an event notification to the appropriate component.

C#
public System.Threading.Tasks.Task InvokeAsync ();

Returns

A Task which completes asynchronously once event processing has completed.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 5.0, 6.0, 7.0, 8.0, 9.0

InvokeAsync(Object)

Source:
EventCallback.cs
Source:
EventCallback.cs
Source:
EventCallback.cs
Source:
EventCallback.cs
Source:
EventCallback.cs
Source:
EventCallback.cs
Source:
EventCallback.cs

Invokes the delegate associated with this binding and dispatches an event notification to the appropriate component.

C#
public System.Threading.Tasks.Task InvokeAsync (object arg);
C#
public System.Threading.Tasks.Task InvokeAsync (object? arg);

Parameters

arg
Object

The argument.

Returns

A Task which completes asynchronously once event processing has completed.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0