Partager via


IVsDebugTargetSelectionService.UpdateDebugTargets Method

Updates the debug targets.

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

Syntax

'Declaration
Sub UpdateDebugTargets
void UpdateDebugTargets()
void UpdateDebugTargets()
abstract UpdateDebugTargets : unit -> unit
function UpdateDebugTargets()

Remarks

If the project ever wants to inform the menu controller that the CurrentDebugTarget has changed by some other mechanism than the user making a selection with the menu controller, then the project can call this method to tell the menu control to update its state at the next idle time. For the convenience of the project, the DebugTargetHandler's implementation of IVsDebugTargetSelectionService is passed as a parameter to this method.

.NET Framework Security

See Also

Reference

IVsDebugTargetSelectionService Interface

Microsoft.VisualStudio.Shell.Interop Namespace