Lingua

BotFrameworkHttpStatusCodeErrorDetectionStrategy Classe

Definizione

Strategia di rilevamento errori del codice HTTP di stato del Framework Bot.

public class BotFrameworkHttpStatusCodeErrorDetectionStrategy : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy
type BotFrameworkHttpStatusCodeErrorDetectionStrategy = class
    interface ITransientErrorDetectionStrategy
Public Class BotFrameworkHttpStatusCodeErrorDetectionStrategy
Implements ITransientErrorDetectionStrategy
Ereditarietà
BotFrameworkHttpStatusCodeErrorDetectionStrategy
Implementazioni
Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy

Costruttori

Nome Descrizione
BotFrameworkHttpStatusCodeErrorDetectionStrategy()

Strategia di rilevamento errori del codice HTTP di stato del Framework Bot.

Metodi

Nome Descrizione
IsTransient(Exception)

Restituisce vero se il codice di stato nell'eccezione HttpRequestExceptionWithStatus è RequestTimeout, TooManyRequests, NotFound o maggiore o uguale a 500 e non NotImplementata (501) o HttpVersionNotSupported (505).

Si applica a

Vedi anche

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