共用方式為


PageLoader.LoadAsync 方法

定義

多載

LoadAsync(PageActionDescriptor)
已淘汰.

產生指定的 CompiledPageActionDescriptorPageActionDescriptor

LoadAsync(PageActionDescriptor, EndpointMetadataCollection)

產生指定的 CompiledPageActionDescriptorPageActionDescriptor

LoadAsync(PageActionDescriptor)

來源:
PageLoader.cs

警告

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);
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)

參數

傳回

Task完成時傳回 的 CompiledPageActionDescriptor

屬性

適用於

LoadAsync(PageActionDescriptor, EndpointMetadataCollection)

來源:
PageLoader.cs
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)

參數

傳回

Task完成時傳回 的 CompiledPageActionDescriptor

適用於