ServiceDescriptor.KeyedImplementationType Eigenschaft

Definition

Ruft die, die Type den Dienst implementiert, oder löst, wenn IsKeyedService dies InvalidOperationException istfalse.

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

Eigenschaftswert

Attribute

Hinweise

Ist IsKeyedService dies falseder Grund, ImplementationType sollte stattdessen aufgerufen werden.

Gilt für: