Share via


IVsProjectBuildMessageReporter.AdviseProjectBuildMessageEvents Method

Definition

Subscribes the project hierarchy to the build message event.

public:
 void AdviseProjectBuildMessageEvents(Microsoft::VisualStudio::Shell::Interop::IVsProjectBuildMessageEvents ^ pEvents, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
void AdviseProjectBuildMessageEvents(Microsoft::VisualStudio::Shell::Interop::IVsProjectBuildMessageEvents const & pEvents, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public void AdviseProjectBuildMessageEvents (Microsoft.VisualStudio.Shell.Interop.IVsProjectBuildMessageEvents pEvents, out uint pdwCookie);
abstract member AdviseProjectBuildMessageEvents : Microsoft.VisualStudio.Shell.Interop.IVsProjectBuildMessageEvents * uint32 -> unit
Public Sub AdviseProjectBuildMessageEvents (pEvents As IVsProjectBuildMessageEvents, ByRef pdwCookie As UInteger)

Parameters

pEvents
IVsProjectBuildMessageEvents

[in] Pointer to the event that occurred.

pdwCookie
UInt32

[out] Pointer to a variable that receives a cookie, or identifier, for use with this build message event.

Applies to