IAsyncResourceFilter.OnResourceExecutionAsync Metodo

Definizione

Chiamato in modo asincrono prima del resto della pipeline.

public:
 System::Threading::Tasks::Task ^ OnResourceExecutionAsync(Microsoft::AspNetCore::Mvc::Filters::ResourceExecutingContext ^ context, Microsoft::AspNetCore::Mvc::Filters::ResourceExecutionDelegate ^ next);
public System.Threading.Tasks.Task OnResourceExecutionAsync (Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext context, Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate next);
abstract member OnResourceExecutionAsync : Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext * Microsoft.AspNetCore.Mvc.Filters.ResourceExecutionDelegate -> System.Threading.Tasks.Task
Public Function OnResourceExecutionAsync (context As ResourceExecutingContext, next As ResourceExecutionDelegate) As Task

Parametri

next
ResourceExecutionDelegate

Oggetto ResourceExecutionDelegate. Richiamato per eseguire il filtro di risorse successivo o il resto della pipeline.

Restituisce

Oggetto Task che verrà completato al termine della parte restante della pipeline.

Si applica a