AuthorizationBuilder.SetInvokeHandlersAfterFailure(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether authorization handlers should be invoked after HasFailed. Defaults to 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
Parameters
- invoke
- Boolean
Returns
The builder.