IPageFactoryProvider.CreateAsyncPageDisposer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Releases a Razor page asynchronously.
public virtual Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext,Microsoft.AspNetCore.Mvc.Rendering.ViewContext,object,System.Threading.Tasks.ValueTask>? CreateAsyncPageDisposer (Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor);
abstract member CreateAsyncPageDisposer : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, Microsoft.AspNetCore.Mvc.Rendering.ViewContext, obj, System.Threading.Tasks.ValueTask>
override this.CreateAsyncPageDisposer : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, Microsoft.AspNetCore.Mvc.Rendering.ViewContext, obj, System.Threading.Tasks.ValueTask>
Public Overridable Function CreateAsyncPageDisposer (descriptor As CompiledPageActionDescriptor) As Func(Of PageContext, ViewContext, Object, ValueTask)
Parameters
- descriptor
- CompiledPageActionDescriptor
Returns
The delegate used to release the created page asynchronously.