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: 25.1.421.0 (25.1.421.0)
Syntaxpublic 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: System.String
The custom message to use. - requiredService
- Type: System.Type
The required service that was not available. - provider
- Type: System.IServiceProvider
The provider that did not have the required service.
See Also