ServiceDescriptor.KeyedImplementationType Egenskap

Definition

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

public:
 property Type ^ KeyedImplementationType { Type ^ get(); };
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
public Type? KeyedImplementationType { get; }
public Type? KeyedImplementationType { get; }
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]
member this.KeyedImplementationType : Type
member this.KeyedImplementationType : Type
Public ReadOnly Property KeyedImplementationType As Type

Egenskapsvärde

Attribut

Kommentarer

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

Gäller för