[]
Initializes a new instance of the DataSourceException class with a specified error message.
public DataSourceException(string message)
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
Initializes a new instance of the DataSourceException class.
public DataSourceException(DataSourceException.Codes code)
| Type | Name | Description |
|---|---|---|
| DataSourceException.Codes | code | The code. |
Initializes a new instance of the DataSourceException class.
public DataSourceException(DataSourceException.Codes code, string message)
| Type | Name | Description |
|---|---|---|
| DataSourceException.Codes | code | The code. |
| string | message | The message. |
Initializes a new instance of the DataSourceException class.
public DataSourceException(DataSourceException.Codes code, Exception innerException)
| Type | Name | Description |
|---|---|---|
| DataSourceException.Codes | code | The code. |
| Exception | innerException | The inner exception. |