TaskProvider.IVsTaskProvider2.OnTaskListFinalRelease Method
Notifies the client to unregister the task provider from the task list if it has not been unregistered by the time the task list is closing.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaración
Private Function OnTaskListFinalRelease ( _
taskList As IVsTaskList _
) As Integer Implements IVsTaskProvider2.OnTaskListFinalRelease
int IVsTaskProvider2.OnTaskListFinalRelease(
IVsTaskList taskList
)
Parameters
- taskList
Type: Microsoft.VisualStudio.Shell.Interop.IVsTaskList
The task list.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTaskProvider2.OnTaskListFinalRelease(IVsTaskList)
.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.