HttpContextWrapper.GetService(Type) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne un objet pour le type de service actuel.
public:
override System::Object ^ GetService(Type ^ serviceType);
public override object GetService(Type serviceType);
override this.GetService : Type -> obj
Public Overrides Function GetService (serviceType As Type) As Object
Paramètres
- serviceType
- Type
Type de service à obtenir.
Retours
Type du service actuel, ou null si aucun service n’est trouvé.