BotFrameworkHttpStatusCodeErrorDetectionStrategy Class
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.
Bot Framework HTTP Status code error detection strategy.
public class BotFrameworkHttpStatusCodeErrorDetectionStrategy : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy
type BotFrameworkHttpStatusCodeErrorDetectionStrategy = class
interface ITransientErrorDetectionStrategy
Public Class BotFrameworkHttpStatusCodeErrorDetectionStrategy
Implements ITransientErrorDetectionStrategy
- Inheritance
-
BotFrameworkHttpStatusCodeErrorDetectionStrategy
- Implements
-
Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy
Constructors
BotFrameworkHttpStatusCodeErrorDetectionStrategy() |
Methods
IsTransient(Exception) |
Returns true if status code in HttpRequestExceptionWithStatus exception is RequestTimeout, TooManyRequests, NotFound or greater than or equal to 500 and not NotImplemented (501) or HttpVersionNotSupported (505). |
Applies to
See also
- <xref:Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy>