共用方式為


IPageActivatorProvider.CreateAsyncReleaser 方法

定義

以非同步方式釋放 Razor 頁面。

public virtual Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext,Microsoft.AspNetCore.Mvc.Rendering.ViewContext,object,System.Threading.Tasks.ValueTask>? CreateAsyncReleaser (Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor);
abstract member CreateAsyncReleaser : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, Microsoft.AspNetCore.Mvc.Rendering.ViewContext, obj, System.Threading.Tasks.ValueTask>
override this.CreateAsyncReleaser : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, Microsoft.AspNetCore.Mvc.Rendering.ViewContext, obj, System.Threading.Tasks.ValueTask>
Public Overridable Function CreateAsyncReleaser (descriptor As CompiledPageActionDescriptor) As Func(Of PageContext, ViewContext, Object, ValueTask)

參數

傳回

用來以非同步方式處置啟動頁面的委派。

適用於