语言

RetryParams.DefaultBackOff(Int32) 方法

定义

评估当前重试次数是否低于允许的最大重试次数,若为真则返回新 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 对象。

适用于