ServiceNotAvailableException Constructor (Type, IServiceProvider) |
Initializes a new instance with the service that was required and the provider from
which it was requested.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public ServiceNotAvailableException(
Type requiredService,
IServiceProvider provider
)
Public Sub New (
requiredService As Type,
provider As IServiceProvider
)
public:
ServiceNotAvailableException(
Type^ requiredService,
IServiceProvider^ provider
)
new :
requiredService : Type *
provider : IServiceProvider -> ServiceNotAvailableException
Parameters
- requiredService
- Type: SystemType
The required service that was not available. - provider
- Type: SystemIServiceProvider
The provider that did not have the required service.
See Also