SqlRetryIntervalBaseEnumerator 類別

定義

產生時間間隔序列。

public ref class SqlRetryIntervalBaseEnumerator abstract : ICloneable, System::Collections::Generic::IEnumerator<TimeSpan>
public abstract class SqlRetryIntervalBaseEnumerator : ICloneable, System.Collections.Generic.IEnumerator<TimeSpan>
type SqlRetryIntervalBaseEnumerator = class
    interface IEnumerator<TimeSpan>
    interface IDisposable
    interface IEnumerator
    interface ICloneable
type SqlRetryIntervalBaseEnumerator = class
    interface IEnumerator<TimeSpan>
    interface IEnumerator
    interface IDisposable
    interface ICloneable
Public MustInherit Class SqlRetryIntervalBaseEnumerator
Implements ICloneable, IEnumerator(Of TimeSpan)
繼承
SqlRetryIntervalBaseEnumerator
實作

建構函式

SqlRetryIntervalBaseEnumerator()

使用間隔時間、最小和最大間隔時間的預設值零,初始化 類別的新實例 SqlRetryIntervalBaseEnumerator

SqlRetryIntervalBaseEnumerator(TimeSpan, TimeSpan, TimeSpan)

初始化 SqlRetryIntervalBaseEnumerator 類別的新執行個體。

屬性

Current

取得集合中位於列舉值目前位置的元素。

GapTimeInterval

每個間隔的預設間距時間。

MaxTimeInterval

允許的時間間隔值上限。

MinTimeInterval

允許的最小時間間隔值。

方法

Clone()

建立目前執行個體複本的新物件。

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

GetNextInterval()

計算下一個間隔時間。

MoveNext()

將列舉值往前推至下集合中的下一個項目。

Reset()

設定列舉值至它的初始位置,這是在集合中第一個項目之前。

Validate(TimeSpan, TimeSpan, TimeSpan)

驗證列舉參數。

明確介面實作

IEnumerator.Current

產生時間間隔序列。

適用於