IConnectionPoint.Advise(Object, Int32) IConnectionPoint.Advise(Object, Int32) IConnectionPoint.Advise(Object, Int32) IConnectionPoint.Advise(Object, Int32) Method

Definizione

Stabilisce una connessione consultiva tra il punto di connessione e l'oggetto sink del chiamante.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)

Parametri

pUnkSink
Object Object Object Object

Riferimento al sink per ricevere le chiamate per l'interfaccia in uscita gestita da questo punto di connessione.A reference to the sink to receive calls for the outgoing interface managed by this connection point.

pdwCookie
Int32 Int32 Int32 Int32

Quando termina, questo metodo contiene il cookie di connessione.When this method returns, contains the connection cookie. Questo parametro viene passato non inizializzato.This parameter is passed uninitialized.

Commenti

Per ulteriori informazioni, vedere la documentazione esistente per IConnectionPoint::Advise in MSDN Library.For more information, see the existing documentation for IConnectionPoint::Advise in the MSDN library.

Si applica a