Share via


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)

Syntax

'Declaration
Function UnadviseAsyncEnumCallback ( _
    dwCookie As UInteger _
) As Integer
int UnadviseAsyncEnumCallback(
    uint dwCookie
)
int UnadviseAsyncEnumCallback(
    [InAttribute] unsigned int dwCookie
)
abstract UnadviseAsyncEnumCallback : 
        dwCookie:uint32 -> int
function UnadviseAsyncEnumCallback(
    dwCookie : uint
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

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
);

.NET Framework Security

See Also

Reference

IVsAsyncEnum Interface

Microsoft.VisualStudio.Shell.Interop Namespace