IAsyncExceptionFilter.OnExceptionAsync(ExceptionContext) Methode

Definition

Wird aufgerufen, nachdem eine Aktion ausgelöst Exceptionhat.

public:
 System::Threading::Tasks::Task ^ OnExceptionAsync(Microsoft::AspNetCore::Mvc::Filters::ExceptionContext ^ context);
public System.Threading.Tasks.Task OnExceptionAsync (Microsoft.AspNetCore.Mvc.Filters.ExceptionContext context);
abstract member OnExceptionAsync : Microsoft.AspNetCore.Mvc.Filters.ExceptionContext -> System.Threading.Tasks.Task
Public Function OnExceptionAsync (context As ExceptionContext) As Task

Parameter

Gibt zurück

Eine Task , die bei Abschluss angibt, dass der Filter ausgeführt wurde.

Gilt für: