RetryParams.DefaultBackOff(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
評估當前重試次數是否低於允許的最大重試次數,若為真則回傳新 RetryParams 物件;若為假則將屬性設 StopRetrying 為假。
public static Microsoft.Bot.Connector.Authentication.RetryParams DefaultBackOff(int retryCount);
static member DefaultBackOff : int -> Microsoft.Bot.Connector.Authentication.RetryParams
Public Shared Function DefaultBackOff (retryCount As Integer) As RetryParams
參數
- retryCount
- Int32
重試次數。
傳回
RetryParams 物件。