AFSDKExtension.IsRetryable Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: NullableBooleanReturns if the specified Exception is considered retryable, or if not retryable, or if cannot be determined.