Taal

BotFrameworkHttpStatusCodeErrorDetectionStrategy.IsTransient Methode

Definitie

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.

Implementeringen

Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy.IsTransient(System.Exception)

Van toepassing op