共用方式為


IVsTrackProjectRetargeting Interface

Definition

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

public interface class IVsTrackProjectRetargeting
public interface class IVsTrackProjectRetargeting
__interface IVsTrackProjectRetargeting
[System.Runtime.InteropServices.Guid("D991BC9B-9C68-447F-A3A7-95962AD75DD2")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTrackProjectRetargeting
[<System.Runtime.InteropServices.Guid("D991BC9B-9C68-447F-A3A7-95962AD75DD2")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTrackProjectRetargeting = interface
Public Interface IVsTrackProjectRetargeting
Derived
Attributes

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.

Methods

AdviseTrackBatchRetargetingEvents(IVsTrackBatchRetargetingEvents, UInt32)

Enables the client to receive notifications of batch project retargeting events.

AdviseTrackProjectRetargetingEvents(IVsTrackProjectRetargetingEvents, UInt32)

Enables the client to receive notifications of project retargeting events.

BatchRetargetProject(IVsHierarchy, String, Boolean)

Schedules the project for batch retargeting.

BeginRetargetingBatch()

Starts the batch retargeting operation.

EndRetargetingBatch()

Finishes the batch retargeting operation.

OnSetTargetFramework(IVsHierarchy, String, String, IVsSetTargetFrameworkWorkerCallback, Boolean)

Called to initiate and orchestrate project retargeting. This method fires various retargeting events at different stages of the retargeting operation.

UnadviseTrackBatchRetargetingEvents(UInt32)

Disables clients from receiving notifications of batch retargeting events.

UnadviseTrackProjectRetargetingEvents(UInt32)

Disables clients from receiving notifications of retargeting events.

Applies to