ServiceDescriptor.KeyedImplementationType Propiedad

Definición

Obtiene el Type objeto que implementa el servicio o produce InvalidOperationException si IsKeyedService es 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

Valor de propiedad

Atributos

Comentarios

Si IsKeyedService es false, ImplementationType se debe llamar a en su lugar.

Se aplica a