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.
Geeft true terug als de statuscode in de HttpRequestExceptionWithStatus-exception RequestTimeout, TooManyRequests, NotFound of groter dan of gelijk aan 500 is en niet NotImplemented (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 tegen te controleren.
Retouren
Waar als uitzondering tijdelijk is of niet vals.