BotFrameworkHttpStatusCodeErrorDetectionStrategy.IsTransient Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Retourneert true als de statuscode in de uitzondering HttpRequestExceptionWithStatus RequestTimeout, TooManyRequests, NotFound of groter dan of gelijk is aan 500 en niet Niet geïmplementeerd (501) of HttpVersionNotSupported (505).
public bool IsTransient(Exception ex);
abstract member IsTransient : Exception -> bool
override this.IsTransient : Exception -> bool
Public Function IsTransient (ex As Exception) As Boolean
Parameters
- ex
- Exception
Uitzondering om op te controleren.
Retouren
Waar als de uitzondering tijdelijk is, anders onwaar.