Class ServiceNotFoundException
- Namespace
- SunamoDependencyInjection.Exceptions
- Assembly
- SunamoDependencyInjection.dll
Exception thrown when a requested service is not found in the dependency injection container.
public class ServiceNotFoundException : Exception, ISerializable
- Inheritance
-
ServiceNotFoundException
- Implements
- Inherited Members
- Extension Methods
Constructors
ServiceNotFoundException(string)
Initializes a new instance of the ServiceNotFoundException class.
public ServiceNotFoundException(string serviceName)
Parameters
serviceNamestringThe name of the service that was not found.