Skip to content
DocsTry Aspire
DocsTry

MissingParameterValueException Constructors

ClassConstructors2 members
The exception that is thrown when a parameter resource cannot be initialized because its value is missing or cannot be resolved.
Initializes a new instance of the MissingParameterValueException class with a specified error message.
public class MissingParameterValueException
{
public MissingParameterValueException(
string message)
{
// ...
}
}
messagestringThe message that describes the error.
Constructor(string, Exception)Section titled Constructor(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 class MissingParameterValueException
{
public MissingParameterValueException(
string message,
Exception innerException)
{
// ...
}
}
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.