This documentation is archived and is not being maintained.

IVsCfgProvider2.UnadviseCfgProviderEvents Method

Cancels a registration for configuration event notification.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int UnadviseCfgProviderEvents (
	[InAttribute] uint dwCookie
int UnadviseCfgProviderEvents (
	/** @attribute InAttribute() */ UInt32 dwCookie
function UnadviseCfgProviderEvents (
	dwCookie : uint
) : int



[in] Token representing the registration to be cancelled.

Return Value

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

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.