Partilhar via


IRateLimiterPolicy<TPartitionKey>.OnRejected Propriedade

Definição

Obtém o Func<T1,T2,TResult> que manipula solicitações rejeitadas por esse middleware.

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

Valor da propriedade

Aplica-se a