英語で読む

次の方法で共有


VsTaskLibraryHelper.CreateAndStartTask Method

Creates a Visual Studio task that is executed with the specified context.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣言
Public Shared Function CreateAndStartTask ( _
    scheduler As IVsTaskSchedulerService, _
    context As VsTaskRunContext, _
    pTaskBody As IVsTaskBody _
) As IVsTask
public static IVsTask CreateAndStartTask(
    IVsTaskSchedulerService scheduler,
    VsTaskRunContext context,
    IVsTaskBody pTaskBody
)

Parameters

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsTask
The task that was created.

.NET Framework Security

See Also

Reference

VsTaskLibraryHelper Class

Microsoft.VisualStudio.Shell Namespace