BotFrameworkHttpStatusCodeErrorDetectionStrategy.IsTransient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if status code in HttpRequestExceptionWithStatus exception is RequestTimeout, TooManyRequests, NotFound or greater than or equal to 500 and not NotImplemented (501) or 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
Exception to check against.
Returns
True if exception is transient otherwise false.
Implements
Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy.IsTransient(System.Exception)