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
dwCookie
Type: UInt32[in] A unique value returned from the AdviseAsyncEnumCallback method.
Return Value
Type: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.