ServiceDescriptor.KeyedImplementationInstance Egenskap

Definition

Hämtar den instans som implementerar tjänsten eller genererar InvalidOperationException om IsKeyedService är false.

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

Egenskapsvärde

Kommentarer

Om IsKeyedService är falseska ImplementationInstance anropas i stället.

Gäller för