| MarkLogic XCC/.Net Library |
|
ConnectionProvider.returnErrorConnection Method
Return a connection that experienced an error. The provider will indicate the action the client should take.
Parameters
-
connection
- A previously obtained ServerConnection instance.
-
exception
- The possibly null exception that occurred. The provider may wish to decide which action to recommend depending on the type of exception.
Return Value
An instance of ConnectionErrorAction instance that advises the client which action to take.
See Also
ConnectionProvider Interface | Marklogic.Xcc.Spi Namespace