IVsAsyncEnum.UnadviseAsyncEnumCallback Method (UInt32)


Indicates the client is no longer interested in receiving asynchronous enumeration events.

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

int UnadviseAsyncEnumCallback(
	uint dwCookie


Type: System.UInt32

[in] A unique value returned from the AdviseAsyncEnumCallback method.

Return Value

Type: System.Int32

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

This method is called when the client no longer wants to listen for asynchronous enumeration events. The cookie is the value that is associated with an IVsAsyncEnumCallback object and was returned from the AdviseAsyncEnumCallback method.

From vsshell.idl:

HRESULT IVsAsyncEnum::UnadviseAsyncEnumCallback(
   [in] VSCOOKIE dwCookie
Return to top