BotFrameworkHttpStatusCodeErrorDetectionStrategy Osztály

Definíció

Bot Framework HTTP-állapotkód hibaészlelési stratégiája.

public class BotFrameworkHttpStatusCodeErrorDetectionStrategy : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy
type BotFrameworkHttpStatusCodeErrorDetectionStrategy = class
    interface ITransientErrorDetectionStrategy
Public Class BotFrameworkHttpStatusCodeErrorDetectionStrategy
Implements ITransientErrorDetectionStrategy
Öröklődés
BotFrameworkHttpStatusCodeErrorDetectionStrategy
Megvalósítás
Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy

Konstruktorok

BotFrameworkHttpStatusCodeErrorDetectionStrategy()

Bot Framework HTTP-állapotkód hibaészlelési stratégiája.

Metódusok

IsTransient(Exception)

Igaz értéket ad vissza, ha a HttpRequestExceptionWithStatus kivétel állapotkódja RequestTimeout, TooManyRequests, NotFound vagy nagyobb, mint 500, és nem NotImplemented (501) vagy HttpVersionNotSupported (505).

A következőre érvényes:

Lásd még

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