RootComponent.AddToWebViewManagerAsync(WebViewManager) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Valide ce composant racine et l’ajoute au composant spécifié WebViewManager.
public:
System::Threading::Tasks::Task ^ AddToWebViewManagerAsync(Microsoft::AspNetCore::Components::WebView::WebViewManager ^ webViewManager);
public System.Threading.Tasks.Task AddToWebViewManagerAsync(Microsoft.AspNetCore.Components.WebView.WebViewManager webViewManager);
member this.AddToWebViewManagerAsync : Microsoft.AspNetCore.Components.WebView.WebViewManager -> System.Threading.Tasks.Task
Public Function AddToWebViewManagerAsync (webViewManager As WebViewManager) As Task
Paramètres
- webViewManager
- WebViewManager
À WebViewManager ajouter ce composant racine.
Retours
Une Task opération terminée lorsque le composant racine a été ajouté.
Exceptions
Levée si webViewManager c’est null.
Levée si Selector ou ComponentType n’a pas été définie.
Remarques
Cela est destiné aux gestionnaires implémentant IBlazorWebViewHandler afin qu’ils puissent appliquer le même comportement de validation et d’inscription que les gestionnaires intégrés. Appelez-le sur le Dispatcher thread.