PageLoader.LoadAsync 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.
Surcharges
LoadAsync(PageActionDescriptor) |
Obsolète.
Produit un CompiledPageActionDescriptor donné .PageActionDescriptor |
LoadAsync(PageActionDescriptor, EndpointMetadataCollection) |
Produit un CompiledPageActionDescriptor donné .PageActionDescriptor |
LoadAsync(PageActionDescriptor)
- Source:
- PageLoader.cs
Attention
This overload is obsolete and no longer called by the framework. Use the overload that includes an EndpointMetadataCollection.
Produit un CompiledPageActionDescriptor donné .PageActionDescriptor
public:
abstract System::Threading::Tasks::Task<Microsoft::AspNetCore::Mvc::RazorPages::CompiledPageActionDescriptor ^> ^ LoadAsync(Microsoft::AspNetCore::Mvc::RazorPages::PageActionDescriptor ^ actionDescriptor);
public abstract System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor> LoadAsync (Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor actionDescriptor);
[System.Obsolete("This overload is obsolete and no longer called by the framework. Use the overload that includes an EndpointMetadataCollection.")]
public abstract System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor> LoadAsync (Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor actionDescriptor);
abstract member LoadAsync : Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor>
[<System.Obsolete("This overload is obsolete and no longer called by the framework. Use the overload that includes an EndpointMetadataCollection.")>]
abstract member LoadAsync : Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor>
Public MustOverride Function LoadAsync (actionDescriptor As PageActionDescriptor) As Task(Of CompiledPageActionDescriptor)
Paramètres
- actionDescriptor
- PageActionDescriptor
L’PageActionDescriptoropérateur
Retours
Task qui, à la fin, retourne un CompiledPageActionDescriptor.
- Attributs
S’applique à
LoadAsync(PageActionDescriptor, EndpointMetadataCollection)
- Source:
- PageLoader.cs
Produit un CompiledPageActionDescriptor donné .PageActionDescriptor
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor> LoadAsync (Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor actionDescriptor, Microsoft.AspNetCore.Http.EndpointMetadataCollection endpointMetadata);
abstract member LoadAsync : Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor * Microsoft.AspNetCore.Http.EndpointMetadataCollection -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor>
override this.LoadAsync : Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor * Microsoft.AspNetCore.Http.EndpointMetadataCollection -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor>
Public Overridable Function LoadAsync (actionDescriptor As PageActionDescriptor, endpointMetadata As EndpointMetadataCollection) As Task(Of CompiledPageActionDescriptor)
Paramètres
- actionDescriptor
- PageActionDescriptor
L’PageActionDescriptoropérateur
- endpointMetadata
- EndpointMetadataCollection
L’EndpointMetadataCollectionopérateur
Retours
Task qui, à la fin, retourne un CompiledPageActionDescriptor.