AsyncServiceCreatorCallback Delegate

Visual Studio 2015
 

The callback for the async service creator.

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

public delegate Task<Object^>^ AsyncServiceCreatorCallback(
	IAsyncServiceContainer^ container,
	CancellationToken cancellationToken,
	Type^ serviceType
)

Parameters

container
Type: Microsoft.VisualStudio.Shell::IAsyncServiceContainer^

The service container.

cancellationToken
Type: System.Threading::CancellationToken

The cancellation token.

serviceType
Type: System::Type^

The type of the service.

Return Value

Type: System.Threading.Tasks::Task<Object^>^

A task that returns the service.

Return to top
Show: