IVsTrackProjectRetargeting.AdviseTrackBatchRetargetingEvents(IVsTrackBatchRetargetingEvents, UInt32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.