Share via


IVsTaskList2.GetActiveProvider Method

Returns the currently active task provider.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetActiveProvider ( _
    <OutAttribute> ByRef ppProvider As IVsTaskProvider _
) As Integer
int GetActiveProvider(
    out IVsTaskProvider ppProvider
)
int GetActiveProvider(
    [OutAttribute] IVsTaskProvider^% ppProvider
)
abstract GetActiveProvider : 
        ppProvider:IVsTaskProvider byref -> int
function GetActiveProvider(
    ppProvider : IVsTaskProvider
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT GetActiveProvider(
   [out] IVsTaskProvider** ppProvider
);

.NET Framework Security

See Also

Reference

IVsTaskList2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace