ComponentBase.OnInitializedAsync 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.
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.
protected:
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
Returns
A Task representing any asynchronous operation.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for