IConnectionPoint.Unadvise(Int32) Method

Definition

终止先前通过 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)

Parameters

dwCookie
Int32

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

Remarks

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

Applies to