Click or drag to resize

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)
Syntax
public ServiceNotAvailableException(
	string message,
	Type requiredService,
	IServiceProvider provider
)

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