共用方式為


ExecutionStrategy.MaxRetryCount 屬性

定義

重試嘗試的次數上限。

protected virtual int MaxRetryCount { get; }
public virtual int MaxRetryCount { get; }
member this.MaxRetryCount : int
Protected Overridable ReadOnly Property MaxRetryCount As Integer
Public Overridable ReadOnly Property MaxRetryCount As Integer

屬性值

備註

如需詳細資訊和範例,請參閱 連線復原和資料庫重試

適用於