ServiceProvider.QueryService Method (Type, Object)
Visual Studio 2015
Gets type-based services from the unmanaged service provider, with an option to prevent the error being sent to the shell.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- serviceType
-
Type:
System.Type
The type of service to retrieve.
- service
-
Type:
System.Object
The requested service, or null.
Show: