Export (0) Print
Expand All

IConnectionPoint.Advise Method

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,
	out int pdwCookie


Type: System.Object

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

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1
© 2015 Microsoft