Point. Advise(Object, Int32) Method
Establishes an advisory connection between the connection point and the caller's sink object.
public: void Advise(System::Object ^ pUnkSink, [Runtime::InteropServices::Out] int % pdwCookie);
public void Advise (object pUnkSink, out int pdwCookie);
abstract member Advise : obj * int -> unit
Public Sub Advise (pUnkSink As Object, ByRef pdwCookie As Integer)
A reference to the sink to receive calls for the outgoing interface managed by this connection point.
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.