TaskProvider.IVsTaskProvider.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
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
声明
Private Function OnTaskListFinalRelease ( _
taskList As IVsTaskList _
) As Integer Implements IVsTaskProvider.OnTaskListFinalRelease
用法
Dim instance As TaskProvider
Dim taskList As IVsTaskList
Dim returnValue As Integer
returnValue = CType(instance, IVsTaskProvider).OnTaskListFinalRelease(taskList)
int IVsTaskProvider.OnTaskListFinalRelease(
IVsTaskList taskList
)
private:
virtual int OnTaskListFinalRelease(
IVsTaskList^ taskList
) sealed = IVsTaskProvider::OnTaskListFinalRelease
private abstract OnTaskListFinalRelease :
taskList:IVsTaskList -> int
private override OnTaskListFinalRelease :
taskList:IVsTaskList -> int
JScript does not support explicit interface implementations.
Parameters
- taskList
Type: Microsoft.VisualStudio.Shell.Interop.IVsTaskList
The task list.
Return Value
Type: System.Int32
S_OK().
Implements
IVsTaskProvider.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.