BotFrameworkConfigurationBuilder.UseRetryPolicy(RetryPolicy) 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.
Adds retry policy on failure for Bot Framework Service calls.
public Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder UseRetryPolicy (Microsoft.Rest.TransientFaultHandling.RetryPolicy retryPolicy);
member this.UseRetryPolicy : Microsoft.Rest.TransientFaultHandling.RetryPolicy -> Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder
Public Function UseRetryPolicy (retryPolicy As RetryPolicy) As BotFrameworkConfigurationBuilder
Parameters
- retryPolicy
- Microsoft.Rest.TransientFaultHandling.RetryPolicy
The retry policy.
Returns
BotFrameworkConfigurationBuilder instance with the retry policy set.