IVsTrackProjectRetargeting::AdviseTrackProjectRetargetingEvents Method (IVsTrackProjectRetargetingEvents^, UInt32)
Visual Studio 2015
Enables the client to receive notifications of project retargeting events.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int AdviseTrackProjectRetargetingEvents( IVsTrackProjectRetargetingEvents^ pEventSink, [OutAttribute] unsigned int% pdwCookie )
Parameters
- pEventSink
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsTrackProjectRetargetingEvents^
[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 UnadviseTrackProjectRetargetingEvents method.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: