Język

BotFrameworkHttpStatusCodeErrorDetectionStrategy Klasa

Definicja

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

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

Nazwa Opis
BotFrameworkHttpStatusCodeErrorDetectionStrategy()

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

Metody

Nazwa Opis
IsTransient(Exception)

Zwraca true, jeśli kod statusu w wyjątku HttpRequestExceptionWithStatus to RequestTimeout, TooManyRequests, NotFound lub większy lub równy 500 i not NotImplement (501) lub HttpVersionNotSupported (505).

Dotyczy

Zobacz też

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