EndpointFilterDelegate Delegat

Definicja

Delegat, który jest stosowany jako filtr w procedurze obsługi tras.

public delegate System.Threading.Tasks.ValueTask<object?> EndpointFilterDelegate(EndpointFilterInvocationContext context);
type EndpointFilterDelegate = delegate of EndpointFilterInvocationContext -> ValueTask<obj>
Public Delegate Function EndpointFilterDelegate(context As EndpointFilterInvocationContext) As ValueTask(Of Object) 

Parametry

context
EndpointFilterInvocationContext

Element EndpointFilterInvocationContext skojarzony z bieżącym żądaniem.

Wartość zwracana

Wynik ValueTask wywoływania programu obsługi i stosowania wszelkich modyfikacji wprowadzonych przez filtry w potoku.

Dotyczy