LicenseContext.GetService(Type) Metódus

Definíció

Lekéri a kért szolgáltatást, ha elérhető.

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

Paraméterek

type
Type

A lekérendő szolgáltatás típusa.

Válaszok

A szolgáltatás egy példánya, vagy null ha a szolgáltatás nem található.

Megvalósítás

A következőre érvényes: