語言

TokenValidationParameters.LogValidationExceptions 屬性

定義

取得或設定 , Boolean 決定驗證失敗是否需要被記錄為錯誤。 預設值是 true 行為向後相容的值。 若設為 false,驗證失敗會被記錄為 Information 並拋出。

public bool LogValidationExceptions { get; set; }
member this.LogValidationExceptions : bool with get, set
Public Property LogValidationExceptions As Boolean

屬性值

適用於