diff --git a/aspnetcore/blazor/components/lifecycle.md b/aspnetcore/blazor/components/lifecycle.md index 7f027cdf69..454a2240df 100644 --- a/aspnetcore/blazor/components/lifecycle.md +++ b/aspnetcore/blazor/components/lifecycle.md @@ -218,6 +218,10 @@ Although the content in this section focuses on Blazor Server and stateful Signa If a component implements , , or both, the framework calls for unmanaged resource disposal when the component is removed from the UI. Disposal can occur at any time, including during [component initialization](#component-initialization-oninitializedasync). +Components shouldn't need to implement and simultaneously. If both are implemented, the framework only executes the asynchronous overload. + +Developer code must ensure that implementations don't take a long time to complete. + ### Synchronous `IDisposable` For synchronous disposal tasks, use . @@ -662,6 +666,10 @@ Although the content in this section focuses on Blazor Server and stateful Signa If a component implements , , or both, the framework calls for unmanaged resource disposal when the component is removed from the UI. Disposal can occur at any time, including during [component initialization](#component-initialization-oninitializedasync). +Components shouldn't need to implement and simultaneously. If both are implemented, the framework only executes the asynchronous overload. + +Developer code must ensure that implementations don't take a long time to complete. + ### Synchronous `IDisposable` For synchronous disposal tasks, use . @@ -1102,6 +1110,10 @@ Although the content in this section focuses on Blazor Server and stateful Signa If a component implements , , or both, the framework calls for unmanaged resource disposal when the component is removed from the UI. Disposal can occur at any time, including during [component initialization](#component-initialization-oninitializedasync). +Components shouldn't need to implement and simultaneously. If both are implemented, the framework only executes the asynchronous overload. + +Developer code must ensure that implementations don't take a long time to complete. + ### Synchronous `IDisposable` For synchronous disposal tasks, use .