Freigeben über


IPageModelActivatorProvider.CreateAsyncReleaser Methode

Definition

Gibt ein Razor Page-Modell asynchron frei.

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)

Parameter

Gibt zurück

Der Delegat, der verwendet wird, um das aktivierte Razor Page-Modell asynchron zu verwerfen.

Gilt für: