Compartir a través de


RateLimiterOptions.OnRejected Propiedad

Definición

Obtiene o establece un Func<T1,T2,TResult> objeto que controla las solicitudes rechazadas por este middleware.

public Func<Microsoft.AspNetCore.RateLimiting.OnRejectedContext,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask>? OnRejected { get; set; }
member this.OnRejected : Func<Microsoft.AspNetCore.RateLimiting.OnRejectedContext, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> with get, set
Public Property OnRejected As Func(Of OnRejectedContext, CancellationToken, ValueTask)

Valor de propiedad

Se aplica a