Compartir a través de


IPageActivatorProvider.CreateAsyncReleaser Método

Definición

Libera una página de Razor de forma asincrónica.

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)

Parámetros

Devoluciones

Delegado que se usa para eliminar la página activada de forma asincrónica.

Se aplica a