CoreStrings.SingletonRequired(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An attempt was made to register an instance for the '{scope}' service '{service}'. Instances can only be registered for 'Singleton' services.
public static string SingletonRequired (object scope, object service);
public static string SingletonRequired (object? scope, object? service);
static member SingletonRequired : obj * obj -> string
Public Shared Function SingletonRequired (scope As Object, service As Object) As String
Parameters
- scope
- Object
- service
- Object
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework