Vixen
02b45cc4
csharp
public sealed class ServiceNotFoundException

Thrown by Get``1 when the requested service was never registered — which in practice means a subsystem asked for something the bootstrapper does not construct, or asked before it did.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (1)

  • public Type? ServiceType

    The service type that was asked for, when the throw site knew it.

Methods (4)

  • public ServiceNotFoundException(Type serviceType)

    Reports that is not registered.

  • public ServiceNotFoundException()

    Creates the exception with a default message.

  • public ServiceNotFoundException(string message)

    Creates the exception with an explicit message.

  • public ServiceNotFoundException(string message, Exception innerException)

    Creates the exception with an explicit message and cause.

Used by (2)

  • ServiceRegistryVixen.Core
  • ServiceRegistryTestsVixen.Core.Tests