.NET Framework 4.6 and 4.5
Returns an object that represents a service provided by the Component or by its Container.
protected virtual Object GetService(
This method can be overridden by a derived class.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client Profile
Supported in: 4, 3.5 SP1