BotFrameworkHttpStatusCodeErrorDetectionStrategy Klass
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Bot Framework HTTP Status Code feldetekteringsstrategi.
public class BotFrameworkHttpStatusCodeErrorDetectionStrategy : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy
type BotFrameworkHttpStatusCodeErrorDetectionStrategy = class
interface ITransientErrorDetectionStrategy
Public Class BotFrameworkHttpStatusCodeErrorDetectionStrategy
Implements ITransientErrorDetectionStrategy
- Arv
-
BotFrameworkHttpStatusCodeErrorDetectionStrategy
- Implementeringar
-
Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy
Konstruktorer
| Name | Description |
|---|---|
| BotFrameworkHttpStatusCodeErrorDetectionStrategy() |
Bot Framework HTTP Status Code feldetekteringsstrategi. |
Metoder
| Name | Description |
|---|---|
| IsTransient(Exception) |
Returnerar true om statuskoden i HttpRequestExceptionWithStatus undantaget är RequestTimeout, TooManyRequests, NotFound eller större än eller lika med 500 och inte NotImplemented (501) eller HttpVersionNotSupported (505). |
Gäller för
Se även
- <xref:Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy>