ServiceDescriptor.KeyedImplementationInstance Свойство

Определение

Возвращает экземпляр, реализующий службу, или вызывает InvalidOperationException , если IsKeyedService это false.

public:
 property System::Object ^ KeyedImplementationInstance { System::Object ^ get(); };
public object? KeyedImplementationInstance { get; }
member this.KeyedImplementationInstance : obj
Public ReadOnly Property KeyedImplementationInstance As Object

Значение свойства

Комментарии

В IsKeyedService противном falseImplementationInstance случае следует вызывать вместо этого.

Применяется к