Click or drag to resize
OSIsoft, LLC

AFSDKExtensionIsRetryable Method

This extension method will indicate if the Exception is considered retryable.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
public static Nullable<bool> IsRetryable(
	this Exception error


Type: SystemException
The Exception to be checked.

Return Value

Type: NullableBoolean
Returns if the specified Exception is considered retryable, or if not retryable, or if cannot be determined.

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).
Version Information


Supported in: 2.10.5, 2.10, 2.9.5
See Also
Enabling Operational Intelligence