Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables the client to receive events about changes to the asynchronous enumeration.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function AdviseAsyncEnumCallback ( _
pIVsAsyncEnumCallback As IVsAsyncEnumCallback, _
<OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
int AdviseAsyncEnumCallback(
IVsAsyncEnumCallback pIVsAsyncEnumCallback,
out uint pdwCookie
)
int AdviseAsyncEnumCallback(
[InAttribute] IVsAsyncEnumCallback^ pIVsAsyncEnumCallback,
[OutAttribute] unsigned int% pdwCookie
)
abstract AdviseAsyncEnumCallback :
pIVsAsyncEnumCallback:IVsAsyncEnumCallback *
pdwCookie:uint32 byref -> int
function AdviseAsyncEnumCallback(
pIVsAsyncEnumCallback : IVsAsyncEnumCallback,
pdwCookie : uint
) : int
Parameters
pIVsAsyncEnumCallback
Type: Microsoft.VisualStudio.Shell.Interop.IVsAsyncEnumCallback[in] The object representing the entity to be called for the asynchronous enumeration events.
pdwCookie
Type: UInt32%[out] A cookie identifying the instance of the event callback specified in pIVsAsyncEnumCallback.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsAsyncEnum::AdviseAsyncEnumCallback(
[in] IVsAsyncEnumCallback *pIVsAsyncEnumCallback,
[out] VSCOOKIE *pdwCookie
);
.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.