IVsProjectBuildMessageReporter.AdviseProjectBuildMessageEvents Method
Subscribes the project hierarchy to the build message event.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Sub AdviseProjectBuildMessageEvents ( _
pEvents As IVsProjectBuildMessageEvents, _
<OutAttribute> ByRef pdwCookie As UInteger _
)
void AdviseProjectBuildMessageEvents(
IVsProjectBuildMessageEvents pEvents,
out uint pdwCookie
)
void AdviseProjectBuildMessageEvents(
[InAttribute] IVsProjectBuildMessageEvents^ pEvents,
[OutAttribute] unsigned int% pdwCookie
)
abstract AdviseProjectBuildMessageEvents :
pEvents:IVsProjectBuildMessageEvents *
pdwCookie:uint32 byref -> unit
function AdviseProjectBuildMessageEvents(
pEvents : IVsProjectBuildMessageEvents,
pdwCookie : uint
)
Parameters
pEvents
Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectBuildMessageEvents[in] Pointer to the event that occurred.
pdwCookie
Type: System.UInt32%[out] Pointer to a variable that receives a cookie, or identifier, for use with this build message event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.