IConnectionPoint.Unadvise(Int32) 方法

定义

终止先前通过 Advise(Object, Int32) 方法建立的顾问连接。Terminates an advisory connection previously established through the Advise(Object, Int32) method.

public:
 void Unadvise(int dwCookie);
public void Unadvise (int dwCookie);
abstract member Unadvise : int -> unit
Public Sub Unadvise (dwCookie As Integer)

参数

dwCookie
Int32

先前从 Advise(Object, Int32) 方法返回的连接 cookie。The connection cookie previously returned from the Advise(Object, Int32) method.

注解

有关详细信息,请参阅 IConnectionPoint::Unadvise MSDN library 中的现有文档。For more information, see the existing documentation for IConnectionPoint::Unadvise in the MSDN library.

适用于