ServiceDescriptor.KeyedImplementationInstance Propiedad

Definición

Obtiene la instancia que implementa el servicio o produce InvalidOperationException si IsKeyedService es false.

public:
 property System::Object ^ KeyedImplementationInstance { System::Object ^ get(); };
public object? KeyedImplementationInstance { get; }
member this.KeyedImplementationInstance : obj
Public ReadOnly Property KeyedImplementationInstance As Object

Valor de propiedad

Comentarios

Si IsKeyedService es false, ImplementationInstance se debe llamar a en su lugar.

Se aplica a