IConnectionPoint.Advise(Object, Int32) Método
Definição
Estabelece uma conexão de consultoria entre o ponto de conexão e o objeto do coletor do chamador.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)
Parâmetros
- pUnkSink
- Object
Referência ao coletor para receber chamadas para a interface de saída gerenciada por esse ponto de conexão.A reference to the sink to receive calls for the outgoing interface managed by this connection point.
- pdwCookie
- Int32
Quando este método retorna, ele contém o cookie de conexão.When this method returns, contains the connection cookie. Este parâmetro é passado não inicializado.This parameter is passed uninitialized.
Comentários
Para obter mais informações, consulte a documentação existente do IConnectionPoint::Advise na biblioteca MSDN.For more information, see the existing documentation for IConnectionPoint::Advise in the MSDN library.