Bagikan melalui


AuthorizationBuilder.SetInvokeHandlersAfterFailure(Boolean) Metode

Definisi

Menentukan apakah penangan otorisasi harus dipanggil setelah HasFailed. Default ke 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

Parameter

invoke
Boolean

Mengembalikan

Pembangun.

Berlaku untuk