Miner.Data.Access Assembly > Miner.Data.Access Namespace > DataSyntax Class : IsPotentiallyRecoverableError Method |
'Declaration Public MustOverride Function IsPotentiallyRecoverableError( _ ByVal exception As Exception _ ) As Boolean
'Usage Dim instance As DataSyntax Dim exception As Exception Dim value As Boolean value = instance.IsPotentiallyRecoverableError(exception)
true
if exception is potentially recoverable; otherwise, false
.This method should return true if it is possible for the database insert, update, or delete operation to succeed if attempted again (the calling method is likely to throw a RetryException to force a "retry" of the query.
An Oracle deadlock detected error or a SQLServer snapshot isolation update conflict error is not the result of the data change, but more the result of a timing issue. In this case, it is reasonable to return true. On the other hand, an optimistic concurrency failure is related to the data involved and is unlikely to change is attempted again at a later time; in this case, the method should return false.
Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)
Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.