Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFSDKExtension.IsRetryable Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFSDKExtension.IsRetryable Method
This extension method will indicate if the Exception is considered retryable.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public static bool? IsRetryable(
	this Exception error
)
<ExtensionAttribute>
Public Shared Function IsRetryable ( 
	error As Exception
) As Boolean?

Dim error As Exception
Dim returnValue As Boolean?

returnValue = error.IsRetryable()
public:
[ExtensionAttribute]
static Nullable<bool> IsRetryable(
	Exception^ error
)
[<ExtensionAttribute>]
static member IsRetryable : 
        error : Exception -> Nullable<bool> 

Parameters

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

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in