ComponentBase.OnInitializedAsync Method


Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.

Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.

 virtual System::Threading::Tasks::Task ^ OnInitializedAsync();
protected virtual System.Threading.Tasks.Task OnInitializedAsync ();
abstract member OnInitializedAsync : unit -> System.Threading.Tasks.Task
override this.OnInitializedAsync : unit -> System.Threading.Tasks.Task
Protected Overridable Function OnInitializedAsync () As Task


A Task representing any asynchronous operation.

Applies to