AsyncServiceCreatorWithProgressCallback Delegate
Visual Studio 2015
The callback that is invoked when an instance of the service is needed. This is called only one time, and the result is cached.
Assembly: Microsoft.VisualStudio.Shell.Immutable.14.0 (in Microsoft.VisualStudio.Shell.Immutable.14.0.dll)
public delegate Task<Object^>^ AsyncServiceCreatorWithProgressCallback( IAsyncServiceContainer^ container, CancellationToken cancellationToken, Type^ serviceType, IProgress<ServiceProgressData^>^ progress )
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 to get.
- progress
-
Type:
System::IProgress<ServiceProgressData^>^
The progress marker.
Show: