Aracılığıyla paylaş


IAsyncResultFilter.OnResultExecutionAsync Yöntem

Tanım

Eylem sonucundan önce zaman uyumsuz olarak çağrılır.

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

Parametreler

next
ResultExecutionDelegate

ResultExecutionDelegate. Sonraki sonuç filtresini veya sonucun kendisini yürütmek için çağrılır.

Döndürülenler

Task Tamamlandıktan sonra filtrenin yürütüldüğünü gösteren bir.

Şunlara uygulanır