Sdílet prostřednictvím


IVsCfgProvider2.UnadviseCfgProviderEvents(UInt32) Method

Definition

Cancels a registration for configuration event notification.

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 IVsCfgProvider2::UnadviseCfgProviderEvents(  
   [in] VSCOOKIE dwCookie  
);  

The token specified in dwCookie is returned by AdviseCfgProviderEvents when the registration is initiated.

Applies to