HttpContextBase.GetService Method (Type)
.NET Framework (current version)
When overridden in a derived class, returns an object for the current service type.
Assembly: System.Web (in System.Web.dll)
Parameters
- serviceType
-
Type:
System.Type
The type of service object to get.
Implements
IServiceProvider.GetService(Type)| Exception | Condition |
|---|---|
| NotImplementedException | Always. |
.NET Framework
Available since 3.5
Available since 3.5
Show: