Condividi tramite


AuthorizationBuilder.SetInvokeHandlersAfterFailure(Boolean) Metodo

Definizione

Determina se i gestori di autorizzazione devono essere richiamati dopo HasFailed. Viene impostato come predefinito true.

public virtual Microsoft.AspNetCore.Authorization.AuthorizationBuilder SetInvokeHandlersAfterFailure (bool invoke);
abstract member SetInvokeHandlersAfterFailure : bool -> Microsoft.AspNetCore.Authorization.AuthorizationBuilder
override this.SetInvokeHandlersAfterFailure : bool -> Microsoft.AspNetCore.Authorization.AuthorizationBuilder
Public Overridable Function SetInvokeHandlersAfterFailure (invoke As Boolean) As AuthorizationBuilder

Parametri

invoke
Boolean

Restituisce

Generatore.

Si applica a