LicenseContext.GetService(Type) Метод

Определение

Возвращает запрашиваемую службу, если она доступна.

public:
 virtual System::Object ^ GetService(Type ^ type);
public virtual object GetService (Type type);
public virtual object? GetService (Type type);
abstract member GetService : Type -> obj
override this.GetService : Type -> obj
Public Overridable Function GetService (type As Type) As Object

Параметры

type
Type

Тип возвращаемой службы.

Возвращаемое значение

Экземпляр службы или значение null, если службу не удается обнаружить.

Реализации

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