Udostępnij przez


BotFrameworkHttpStatusCodeErrorDetectionStrategy Klasa

Definicja

Strategia wykrywania błędów kodu stanu HTTP platformy Bot Framework.

public class BotFrameworkHttpStatusCodeErrorDetectionStrategy : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy
type BotFrameworkHttpStatusCodeErrorDetectionStrategy = class
    interface ITransientErrorDetectionStrategy
Public Class BotFrameworkHttpStatusCodeErrorDetectionStrategy
Implements ITransientErrorDetectionStrategy
Dziedziczenie
BotFrameworkHttpStatusCodeErrorDetectionStrategy
Implementuje
Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy

Konstruktory

BotFrameworkHttpStatusCodeErrorDetectionStrategy()

Strategia wykrywania błędów kodu stanu HTTP platformy Bot Framework.

Metody

IsTransient(Exception)

Zwraca wartość true, jeśli kod stanu w wyjątku HttpRequestExceptionWithStatus to RequestTimeout, TooManyRequests, NotFound lub większa lub równa 500, a nie NotImplemented (501) lub HttpVersionNotSupported (505).

Dotyczy

Zobacz też

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