次の方法で共有


IVsAsyncEnum.UnadviseAsyncEnumCallback(UInt32) Method

Definition

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

public:
 int UnadviseAsyncEnumCallback(System::UInt32 dwCookie);
public:
 int UnadviseAsyncEnumCallback(unsigned int dwCookie);
int UnadviseAsyncEnumCallback(unsigned int dwCookie);
public int UnadviseAsyncEnumCallback (uint dwCookie);
abstract member UnadviseAsyncEnumCallback : uint32 -> int
Public Function UnadviseAsyncEnumCallback (dwCookie As UInteger) As Integer

Parameters

dwCookie
UInt32

[in] A unique value returned from the AdviseAsyncEnumCallback(IVsAsyncEnumCallback, UInt32) method.

Returns

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

Applies to