IVsIntellisenseProjectManager.AdviseIntellisenseProjectEvents Method
Registers an event sink to receive load status of an IntelliSense project.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function AdviseIntellisenseProjectEvents ( _
pSink As IVsIntellisenseProjectEventSink, _
<OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
int AdviseIntellisenseProjectEvents(
IVsIntellisenseProjectEventSink pSink,
out uint pdwCookie
)
int AdviseIntellisenseProjectEvents(
[InAttribute] IVsIntellisenseProjectEventSink^ pSink,
[OutAttribute] unsigned int% pdwCookie
)
abstract AdviseIntellisenseProjectEvents :
pSink:IVsIntellisenseProjectEventSink *
pdwCookie:uint32 byref -> int
function AdviseIntellisenseProjectEvents(
pSink : IVsIntellisenseProjectEventSink,
pdwCookie : uint
) : int
Parameters
pSink
Type: Microsoft.VisualStudio.Shell.Interop.IVsIntellisenseProjectEventSink[In] Pointer to an implementation of IVsIntellisenseProjectEventSink.
pdwCookie
Type: UInt32%[out] Pointer to an object of type VSCOOKIE. Used in the UnadviseIntellisenseProjectEvents method when unregistering the event sink.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.