AsyncPackage::GetService Method (Type^)
Visual Studio 2015
Retrieves a service registered with this package. This method is synchronous and even async services retrieved this way will be retrieved synchronously.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- serviceType
-
Type:
System::Type^
The type representing the registered service type to retrieve.
Show: