PageLoader.LoadAsync Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
LoadAsync(PageActionDescriptor) |
Geçersiz.
Verilen bir CompiledPageActionDescriptorPageActionDescriptoroluşturur. |
LoadAsync(PageActionDescriptor, EndpointMetadataCollection) |
Verilen bir CompiledPageActionDescriptorPageActionDescriptoroluşturur. |
LoadAsync(PageActionDescriptor)
- Kaynak:
- PageLoader.cs
Dikkat
This overload is obsolete and no longer called by the framework. Use the overload that includes an EndpointMetadataCollection.
Verilen bir CompiledPageActionDescriptorPageActionDescriptoroluşturur.
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)
Parametreler
- actionDescriptor
- PageActionDescriptor
Döndürülenler
Task Tamamlandığında bir CompiledPageActionDescriptordöndürür.
- Öznitelikler
Şunlara uygulanır
LoadAsync(PageActionDescriptor, EndpointMetadataCollection)
- Kaynak:
- PageLoader.cs
Verilen bir CompiledPageActionDescriptorPageActionDescriptoroluşturur.
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)
Parametreler
- actionDescriptor
- PageActionDescriptor
- endpointMetadata
- EndpointMetadataCollection
Döndürülenler
Task Tamamlandığında bir CompiledPageActionDescriptordöndürür.