MissingParameterValueException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MissingParameterValueException(String) |
Initializes a new instance of the MissingParameterValueException class with a specified error message. |
MissingParameterValueException(String, Exception) |
Initializes a new instance of the MissingParameterValueException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
MissingParameterValueException(String)
Initializes a new instance of the MissingParameterValueException class with a specified error message.
public MissingParameterValueException(string message);
new Aspire.Hosting.MissingParameterValueException : string -> Aspire.Hosting.MissingParameterValueException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
MissingParameterValueException(String, Exception)
Initializes a new instance of the MissingParameterValueException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public MissingParameterValueException(string message, Exception innerException);
new Aspire.Hosting.MissingParameterValueException : string * Exception -> Aspire.Hosting.MissingParameterValueException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that explains the reason for the exception.
- innerException
- Exception
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.