BotFrameworkHttpStatusCodeErrorDetectionStrategy Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Bot Framework HTTP-Statuscode-Fehlererkennungsstrategie.
public class BotFrameworkHttpStatusCodeErrorDetectionStrategy : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy
type BotFrameworkHttpStatusCodeErrorDetectionStrategy = class
interface ITransientErrorDetectionStrategy
Public Class BotFrameworkHttpStatusCodeErrorDetectionStrategy
Implements ITransientErrorDetectionStrategy
- Vererbung
-
BotFrameworkHttpStatusCodeErrorDetectionStrategy
- Implementiert
-
Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy
Konstruktoren
| Name | Beschreibung |
|---|---|
| BotFrameworkHttpStatusCodeErrorDetectionStrategy() |
Bot Framework HTTP-Statuscode-Fehlererkennungsstrategie. |
Methoden
| Name | Beschreibung |
|---|---|
| IsTransient(Exception) |
Wird true zurück, wenn der Statuscode in der HttpRequestExceptionWithStatus-Ausnahme RequestTimeout, TooManyRequests, NotFound oder größer als oder gleich 500 ist und nicht NotImplemented (501) oder HttpVersionNotSupported (505) ist. |
Gilt für:
Weitere Informationen
- <xref:Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy>