RetryParams.DefaultBackOff(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.