ServiceNotAvailableException Constructor (String, Type, IServiceProvider) |
Initializes a new instance with a custom message.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ServiceNotAvailableException(
string message,
Type requiredService,
IServiceProvider provider
)
Public Sub New (
message As String,
requiredService As Type,
provider As IServiceProvider
)
public:
ServiceNotAvailableException(
String^ message,
Type^ requiredService,
IServiceProvider^ provider
)
new :
message : string *
requiredService : Type *
provider : IServiceProvider -> ServiceNotAvailableException
Parameters
- message
- Type: SystemString
The custom message to use. - requiredService
- Type: SystemType
The required service that was not available. - provider
- Type: SystemIServiceProvider
The provider that did not have the required service.
See Also