VsTaskLibraryHelper.ServiceInstance Propriedade

Definição

Obtém a instância de serviço do Agendador de tarefas.

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; }
member this.ServiceInstance : Microsoft.VisualStudio.Shell.Interop.IVsTaskSchedulerService
Public ReadOnly Property ServiceInstance As IVsTaskSchedulerService

Valor da propriedade

IVsTaskSchedulerService

A instância do serviço singleton.

Comentários

Se a consulta de serviço falhar, continuaremos a tentar novamente, já que a classe Globalservices pode não ter sido inicializada ainda. Isso pode ser verdadeiro para versões mais antigas do assembly do shell do Visual Studio.

Aplica-se a