IConnectionPoint::Advise Method (Object^, Int32%)

 

Establishes an advisory connection between the connection point and the caller's sink object.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

void Advise(
	Object^ pUnkSink,
	[OutAttribute] int% pdwCookie
)

Parameters

pUnkSink
Type: System::Object^

A reference to the sink to receive calls for the outgoing interface managed by this connection point.

pdwCookie
Type: System::Int32%

When this method returns, contains the connection cookie. This parameter is passed uninitialized.

For more information, see the existing documentation for IConnectionPoint::Advise in the MSDN library.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: