BotFrameworkHttpStatusCodeErrorDetectionStrategy Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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>