Share via


BotFrameworkHttpStatusCodeErrorDetectionStrategy Klasse

Definition

Fehlererkennungsstrategie für den HTTP-Status des Bot Framework-Codes.

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

BotFrameworkHttpStatusCodeErrorDetectionStrategy()

Fehlererkennungsstrategie für den HTTP-Status des Bot Framework-Codes.

Methoden

IsTransient(Exception)

Gibt true zurück, wenn der Statuscode in der HttpRequestExceptionWithStatus-Ausnahme RequestTimeout, TooManyRequests, NotFound oder größer oder gleich 500 und nicht NotImplemented (501) oder HttpVersionNotSupported (505) ist.

Gilt für:

Weitere Informationen

  • <xref:Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy>