Dela via


AuthorizationBuilder.SetInvokeHandlersAfterFailure(Boolean) Method

Definition

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.

Applies to