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