RetryParams.DefaultBackOff(Int32) Method

Definition

Evaluates if the current retry count is less than the maximum number of retries allowed, and returns a new RetryParams object if true, or sets the StopRetrying property to false if false.

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

Parameters

retryCount
Int32

The number of times to perform a retry.

Returns

A RetryParams object.

Applies to