Export (0) Print
Expand All

IVsAsyncEnum.UnadviseAsyncEnumCallback Method

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
)

Parameters

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.

COM Signature

From vsshell.idl:

HRESULT IVsAsyncEnum::UnadviseAsyncEnumCallback(
   [in] VSCOOKIE dwCookie
);

Show:
© 2014 Microsoft