다음을 통해 공유


IVsCfgProviderEventsHelper.UnadviseCfgProviderEvents(UInt32) Method

Definition

Called to remove listeners from the array of listeners for configuration events.

public:
 int UnadviseCfgProviderEvents(System::UInt32 dwCookie);
public:
 int UnadviseCfgProviderEvents(unsigned int dwCookie);
int UnadviseCfgProviderEvents(unsigned int dwCookie);
public int UnadviseCfgProviderEvents (uint dwCookie);
abstract member UnadviseCfgProviderEvents : uint32 -> int
Public Function UnadviseCfgProviderEvents (dwCookie As UInteger) As Integer

Parameters

dwCookie
UInt32

[in] Token representing the registration to be cancelled.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsCfgProviderEventsHelper::UnadviseCfgProviderEvents(  
   [in] VSCOOKIE dwCookie  
);  

Calls to this method from IVsCfgProvider2 will result in clients being removed from the array of listeners to be notified of configuration events.

Applies to