Sprache

BotFrameworkHttpStatusCodeErrorDetectionStrategy Klasse

Definition

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>