IVsTrackProjectRetargeting::AdviseTrackBatchRetargetingEvents Method (IVsTrackBatchRetargetingEvents^, UInt32)

 

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

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

int AdviseTrackBatchRetargetingEvents(
	IVsTrackBatchRetargetingEvents^ pEventSink,
	[OutAttribute] unsigned int% pdwCookie
)

Parameters

pEventSink
Type: Microsoft.VisualStudio.Shell.Interop::IVsTrackBatchRetargetingEvents^

[in] The object that receives the event notifications.

pdwCookie
Type: System::UInt32

[out] Returns an abstract value that identifies the client to be advised of batch retargeting events. Use this cookie later in a call to the UnadviseTrackBatchRetargetingEvents method.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: