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
ppProvider
Type: Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider%[Out] A pointer to a pointer to an object of type IVsTaskProvider.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.