Constructor SectionNotFoundException
| Improve this Doc View SourceSectionNotFoundException()
Initializes a new instance of the SectionNotFoundException class with a default message.
Declaration
public SectionNotFoundException()
SectionNotFoundException(String)
Initializes a new instance of the SectionNotFoundException class with a specified error message.
Declaration
public SectionNotFoundException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message that describes the error. |
SectionNotFoundException(String, String)
Initializes a new instance of the SectionNotFoundException class with a specified error message and the name of the parameter that causes this exception.
Declaration
public SectionNotFoundException(string message, string paramName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message that describes the error. |
| String | paramName | The name of the parameter that caused the exception. |