LicenseContext.GetService(Type) Метод
Определение
Возвращает запрашиваемую службу, если она доступна.Gets the requested service, if it is available.
public:
virtual System::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
Тип возвращаемой службы.The type of service to retrieve.
Возвращаемое значение
Экземпляр службы или значение null
, если службу не удается обнаружить.An instance of the service, or null
if the service cannot be found.