PageLoader.LoadAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
LoadAsync(PageActionDescriptor) |
Obsoletos.
Genera un determinado objeto CompiledPageActionDescriptorPageActionDescriptor. |
LoadAsync(PageActionDescriptor, EndpointMetadataCollection) |
Genera un determinado objeto CompiledPageActionDescriptorPageActionDescriptor. |
LoadAsync(PageActionDescriptor)
- Source:
- PageLoader.cs
Precaución
This overload is obsolete and no longer called by the framework. Use the overload that includes an EndpointMetadataCollection.
Genera un determinado objeto CompiledPageActionDescriptorPageActionDescriptor.
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)
Parámetros
- actionDescriptor
- PageActionDescriptor
Devoluciones
que Task al finalizar devuelve un CompiledPageActionDescriptorobjeto .
- Atributos
Se aplica a
LoadAsync(PageActionDescriptor, EndpointMetadataCollection)
- Source:
- PageLoader.cs
Genera un determinado objeto CompiledPageActionDescriptorPageActionDescriptor.
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)
Parámetros
- actionDescriptor
- PageActionDescriptor
- endpointMetadata
- EndpointMetadataCollection
Devoluciones
que Task al finalizar devuelve un CompiledPageActionDescriptorobjeto .