Renderer.AddPendingTask(ComponentState, Task) 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.
Notifies the renderer that there is a pending task associated with a component. The renderer is regarded as quiescent when all such tasks have completed.
protected virtual void AddPendingTask (Microsoft.AspNetCore.Components.Rendering.ComponentState? componentState, System.Threading.Tasks.Task task);
abstract member AddPendingTask : Microsoft.AspNetCore.Components.Rendering.ComponentState * System.Threading.Tasks.Task -> unit
override this.AddPendingTask : Microsoft.AspNetCore.Components.Rendering.ComponentState * System.Threading.Tasks.Task -> unit
Protected Overridable Sub AddPendingTask (componentState As ComponentState, task As Task)
Parameters
- componentState
- ComponentState
The ComponentState for the component associated with this pending task, if any.