Returns a boolean value indicating whether the specified error indicates that the client should reconnect to the server.
public bool IsFatalError(
Exception ex
)
Public Function IsFatalError( _
ByVal ex As Exception _
) As Boolean
public:
bool IsFatalError(
Exception^ ex
);
Parameters
- ex
- The error to check.
Return Value
true
to indicates that the client should reconnect to the server; otherwise,
false
.
Remarks
This method fires the
ReconnectionErrorChecking event to let you manually check if the component needs to reconnect when it encounters specific errors.