ParameterForInjectionException class

Exception thrown when there is an error resolving a parameter for injection. The StatusCode property indicates the HTTP status code that should be returned to the client.

public class ParameterForInjectionException : InvalidOperationException
parameter description
message The error message describing the issue.
statusCode The HTTP status code to return.

Public Members

name description
ParameterForInjectionException(…) Exception thrown when there is an error resolving a parameter for injection. The StatusCode property indicates the HTTP status code that should be returned to the client.
StatusCode { get; } Gets the HTTP status code to return.

See Also