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

Visual Studio 2015
 

Adds 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
)

Parameters

serviceType
Type: System::Type^

The type of the service to get.

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

The callback.

Return to top
Show: