Click or drag to resize

ExtensionMethodsIsTimeoutException Method

Iterates through the exception causes and returns true if any exception in the hierarchy is a TimeoutException

Namespace: SanteDB.Core.Http
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public static bool IsTimeoutException(
	this Exception exception
)

Parameters

exception  Exception
The exception to check

Return Value

Boolean
True if any exception is an instance of TimeoutException

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Exception. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also