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 对象。