ServiceDescriptor.KeyedImplementationType Propriété

Définition

Obtient le Type service qui implémente ou lève InvalidOperationException le cas échéant IsKeyedServicefalse.

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

Valeur de propriété

Attributs

Remarques

Si IsKeyedService c’est falsele cas, ImplementationType doit être appelé à la place.

S’applique à