Share via


CoreStrings.SingletonRequired(Object, Object) Method

Definition

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