AuthorizationBuilder.SetInvokeHandlersAfterFailure(Boolean) Método

Definición

Determina si se deben invocar controladores de autorización después HasFailedde . El valor predeterminado es 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

Parámetros

invoke
Boolean

Devoluciones

Generador.

Se aplica a