Partager via


IVsTrackProjectRetargeting Interface

Used by projects to signal that they want to receive project retargeting events, and to signal that events are about to happen.

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

Syntax

'Declaration
<GuidAttribute("D991BC9B-9C68-447F-A3A7-95962AD75DD2")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsTrackProjectRetargeting
[GuidAttribute("D991BC9B-9C68-447F-A3A7-95962AD75DD2")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTrackProjectRetargeting
[GuidAttribute(L"D991BC9B-9C68-447F-A3A7-95962AD75DD2")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsTrackProjectRetargeting
[<GuidAttribute("D991BC9B-9C68-447F-A3A7-95962AD75DD2")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTrackProjectRetargeting =  interface end
public interface IVsTrackProjectRetargeting

The IVsTrackProjectRetargeting type exposes the following members.

Methods

  Name Description
Public method AdviseTrackBatchRetargetingEvents Enables the client to receive notifications of batch project retargeting events.
Public method AdviseTrackProjectRetargetingEvents Enables the client to receive notifications of project retargeting events.
Public method BatchRetargetProject Schedules the project for batch retargeting.
Public method BeginRetargetingBatch Starts the batch retargeting operation.
Public method EndRetargetingBatch Finishes the batch retargeting operation.
Public method OnSetTargetFramework Called to initiate and orchestrate project retargeting. This method fires various retargeting events at different stages of the retargeting operation.
Public method UnadviseTrackBatchRetargetingEvents Disables clients from receiving notifications of batch retargeting events.
Public method UnadviseTrackProjectRetargetingEvents Disables clients from receiving notifications of retargeting events.

Top

Remarks

This is a global service that tracks project retargeting attempts and broadcasts events to all subscribers related to various stages of the retargeting operation.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace