Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Raised when a task has been deleted.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Private Function OnDeleteTask As Integer
Implements IVsTaskItem.OnDeleteTask
int IVsTaskItem.OnDeleteTask()
private:
virtual int OnDeleteTask() sealed = IVsTaskItem::OnDeleteTask
private abstract OnDeleteTask : unit -> int
private override OnDeleteTask : unit -> int
JScript does not support explicit interface implementations.
Return Value
Type: System.Int32
S_OK .
Implements
Remarks
This method is called only if the CanDelete method is set to true. When a task is deleted, you must remove the task from your internal list, but it is not necessary to call the RefreshTasks method on the task list
.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.