Thrown when an error occurred and the system is not able to identify it accuratly.
Creates a new instance of DataAccessException.
public Void DataAccessException(msg, src, inner)
Name | Type | Summary |
---|---|---|
msg | String | Error message. |
src | String | Source code reference. |
inner | Exception | Original exception. |
Creates a new instance of DataAccessException.
public Void DataAccessException(command, src, inner)
Name | Type | Summary |
---|---|---|
command | IDbCommand | Database command that causes the error. |
src | String | Source code reference. |
inner | Exception | Original exception. |
Creates a new instance of DataAccessException.
public Void DataAccessException(command, msg, src, inner)
Name | Type | Summary |
---|---|---|
command | IDbCommand | Database command that causes the error. |
msg | String | Error message. |
src | String | Source code reference. |
inner | Exception | Original exception. |
Get or set the IDbCommand object that causes the data access error.
public IDbCommand Command { get; set; }
Returns a textual representation of the exception.
public String ToString()
A textual representation of the exception.
In this document