IPageModelActivatorProvider.CreateAsyncReleaser 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 model asynchronously.
public virtual Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext,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, obj, System.Threading.Tasks.ValueTask>
override this.CreateAsyncReleaser : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, obj, System.Threading.Tasks.ValueTask>
Public Overridable Function CreateAsyncReleaser (descriptor As CompiledPageActionDescriptor) As Func(Of PageContext, Object, ValueTask)
Parameters
- descriptor
- CompiledPageActionDescriptor
Returns
The delegate used to dispose the activated Razor Page model asynchronously.