HttpContextWrapper.GetService(Type) Método
Definição
Retorna um objeto para o tipo de serviço atual.Returns an object for the current service type.
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
Parâmetros
- serviceType
- Type
O tipo de serviço a obter.The type of service to get.
Retornos
O tipo de serviço atual ou null, se nenhum serviço foi encontrado.The current service type, or null if no service is found.