IAsyncServiceContainer::AddService Method (Type^, AsyncServiceCreatorCallback^, Boolean)

Visual Studio 2015
 

Gets a service.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.14.0 (in Microsoft.VisualStudio.Shell.Immutable.14.0.dll)

void AddService(
	Type^ serviceType,
	AsyncServiceCreatorCallback^ callback,
	bool promote
)

Parameters

serviceType
Type: System::Type^

The type of the service to get.

callback
Type: Microsoft.VisualStudio.Shell::AsyncServiceCreatorCallback^

The callback.

promote
Type: System::Boolean

Return to top
Show: