Share via


IVsTrackProjectRetargeting.AdviseTrackProjectRetargetingEvents Method

Enables the client to receive notifications of project retargeting events.

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

Syntax

'Declaration
Function AdviseTrackProjectRetargetingEvents ( _
    pEventSink As IVsTrackProjectRetargetingEvents, _
    <OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
int AdviseTrackProjectRetargetingEvents(
    IVsTrackProjectRetargetingEvents pEventSink,
    out uint pdwCookie
)
int AdviseTrackProjectRetargetingEvents(
    [InAttribute] IVsTrackProjectRetargetingEvents^ pEventSink, 
    [OutAttribute] unsigned int% pdwCookie
)
abstract AdviseTrackProjectRetargetingEvents : 
        pEventSink:IVsTrackProjectRetargetingEvents * 
        pdwCookie:uint32 byref -> int
function AdviseTrackProjectRetargetingEvents(
    pEventSink : IVsTrackProjectRetargetingEvents, 
    pdwCookie : uint
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsTrackProjectRetargeting Interface

Microsoft.VisualStudio.Shell.Interop Namespace