IVsTrackProjectRetargeting.AdviseTrackBatchRetargetingEvents(IVsTrackBatchRetargetingEvents, UInt32) Método

Definição

Permite que o cliente receba notificações de eventos de redirecionamento do projeto do lote.

public:
 int AdviseTrackBatchRetargetingEvents(Microsoft::VisualStudio::Shell::Interop::IVsTrackBatchRetargetingEvents ^ pEventSink, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
int AdviseTrackBatchRetargetingEvents(Microsoft::VisualStudio::Shell::Interop::IVsTrackBatchRetargetingEvents const & pEventSink, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public int AdviseTrackBatchRetargetingEvents (Microsoft.VisualStudio.Shell.Interop.IVsTrackBatchRetargetingEvents pEventSink, out uint pdwCookie);
abstract member AdviseTrackBatchRetargetingEvents : Microsoft.VisualStudio.Shell.Interop.IVsTrackBatchRetargetingEvents * uint32 -> int
Public Function AdviseTrackBatchRetargetingEvents (pEventSink As IVsTrackBatchRetargetingEvents, ByRef pdwCookie As UInteger) As Integer

Parâmetros

pEventSink
IVsTrackBatchRetargetingEvents

no O objeto que recebe as notificações de eventos.

pdwCookie
UInt32

fora Retorna um valor abstrato que identifica o cliente para ser avisado sobre eventos de redirecionamento de lote. Use esse cookie posteriormente em uma chamada para o UnadviseTrackBatchRetargetingEvents(UInt32) método.

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Aplica-se a