Udostępnij za pośrednictwem


VsTaskLibraryHelper.ServiceInstance Property

Definition

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.

Applies to