ErrorBoundaryBase.MaximumErrorCount 属性

定义

可以处理的最大错误数。 如果收到更多错误,它们将被视为致命错误。 调用 Recover() 将重置计数。

[Microsoft.AspNetCore.Components.Parameter]
public int MaximumErrorCount { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.MaximumErrorCount : int with get, set
Public Property MaximumErrorCount As Integer

属性值

属性

适用于