Jazyk

ServiceDescriptor.KeyedImplementationType Vlastnost

Definice

Type Získá, který implementuje službu, nebo vyvoláInvalidOperationException, pokud IsKeyedService je 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

Hodnota vlastnosti

Atributy

Poznámky

Pokud IsKeyedService je , ImplementationTypefalseměla by být volána.

Platí pro