Compartir a través de


IVsAsyncEnum.AdviseAsyncEnumCallback Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaración
Function AdviseAsyncEnumCallback ( _
    pIVsAsyncEnumCallback As IVsAsyncEnumCallback, _
    <OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
'Uso
Dim instance As IVsAsyncEnum
Dim pIVsAsyncEnumCallback As IVsAsyncEnumCallback
Dim pdwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.AdviseAsyncEnumCallback(pIVsAsyncEnumCallback, _
    pdwCookie)
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

Return Value

Type: System.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

See Also

Reference

IVsAsyncEnum Interface

IVsAsyncEnum Members

Microsoft.VisualStudio.Shell.Interop Namespace