Delen via


BotFrameworkHttpStatusCodeErrorDetectionStrategy Klas

Definitie

Foutdetectiestrategie voor HTTP-statuscode in Bot Framework.

public class BotFrameworkHttpStatusCodeErrorDetectionStrategy : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy
type BotFrameworkHttpStatusCodeErrorDetectionStrategy = class
    interface ITransientErrorDetectionStrategy
Public Class BotFrameworkHttpStatusCodeErrorDetectionStrategy
Implements ITransientErrorDetectionStrategy
Overname
BotFrameworkHttpStatusCodeErrorDetectionStrategy
Implementeringen
Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy

Constructors

BotFrameworkHttpStatusCodeErrorDetectionStrategy()

Foutdetectiestrategie voor HTTP-statuscode in Bot Framework.

Methoden

IsTransient(Exception)

Retourneert true als de statuscode in de uitzondering HttpRequestExceptionWithStatus RequestTimeout, TooManyRequests, NotFound of groter dan of gelijk aan 500 is en niet Niet geïmplementeerd (501) of HttpVersionNotSupported (505).

Van toepassing op

Zie ook

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