Share via


ServiceDescriptor.KeyedImplementationType Property

Definition

Gets the Type that implements the service, or throws InvalidOperationException if IsKeyedService is false.

public:
 property Type ^ KeyedImplementationType { Type ^ get(); };
public Type? KeyedImplementationType { get; }
member this.KeyedImplementationType : Type
Public ReadOnly Property KeyedImplementationType As Type

Property Value

Remarks

If IsKeyedService is false, ImplementationType should be called instead.

Applies to