RootComponent.RemoveFromWebViewManagerAsync(WebViewManager) 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.
Validates this root component and removes it from the specified WebViewManager.
public:
System::Threading::Tasks::Task ^ RemoveFromWebViewManagerAsync(Microsoft::AspNetCore::Components::WebView::WebViewManager ^ webViewManager);
public System.Threading.Tasks.Task RemoveFromWebViewManagerAsync(Microsoft.AspNetCore.Components.WebView.WebViewManager webViewManager);
member this.RemoveFromWebViewManagerAsync : Microsoft.AspNetCore.Components.WebView.WebViewManager -> System.Threading.Tasks.Task
Public Function RemoveFromWebViewManagerAsync (webViewManager As WebViewManager) As Task
Parameters
- webViewManager
- WebViewManager
The WebViewManager to remove this root component from.
Returns
A Task that completes when the root component has been removed.
Exceptions
Thrown if webViewManager is null.
Thrown if Selector has not been set.
Remarks
This is intended for handlers implementing IBlazorWebViewHandler so that they can apply the same validation and removal behavior as the built-in handlers. Call this on the Dispatcher thread.