VsTaskLibraryHelper.ServiceInstance Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the task scheduler service instance.
public:
static property Microsoft::VisualStudio::Shell::Interop::IVsTaskSchedulerService ^ ServiceInstance { Microsoft::VisualStudio::Shell::Interop::IVsTaskSchedulerService ^ get(); };
public:
static property Microsoft::VisualStudio::Shell::Interop::IVsTaskSchedulerService ^ ServiceInstance { Microsoft::VisualStudio::Shell::Interop::IVsTaskSchedulerService ^ get(); };
public static Microsoft.VisualStudio.Shell.Interop.IVsTaskSchedulerService ServiceInstance { get; }
static member ServiceInstance : Microsoft.VisualStudio.Shell.Interop.IVsTaskSchedulerService
Public ReadOnly Property ServiceInstance As IVsTaskSchedulerService
Property Value
The singleton service instance.
Remarks
If service query failed we will keep retrying as GlobalServices class might not have been initialized yet. This can be true for older versions of Visual Studio Shell assembly.