Compartir a través de


IVsPublishableProjectCfg.AdvisePublishStatusCallback Method

Establishes a callback for publishing status.

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

Syntax

'Declaración
Function AdvisePublishStatusCallback ( _
    pIVsPublishStatusCallback As IVsPublishableProjectStatusCallback, _
    <OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
'Uso
Dim instance As IVsPublishableProjectCfg
Dim pIVsPublishStatusCallback As IVsPublishableProjectStatusCallback
Dim pdwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.AdvisePublishStatusCallback(pIVsPublishStatusCallback, _
    pdwCookie)
int AdvisePublishStatusCallback(
    IVsPublishableProjectStatusCallback pIVsPublishStatusCallback,
    out uint pdwCookie
)
int AdvisePublishStatusCallback(
    [InAttribute] IVsPublishableProjectStatusCallback^ pIVsPublishStatusCallback, 
    [OutAttribute] unsigned int% pdwCookie
)
abstract AdvisePublishStatusCallback : 
        pIVsPublishStatusCallback:IVsPublishableProjectStatusCallback * 
        pdwCookie:uint32 byref -> int 
function AdvisePublishStatusCallback(
    pIVsPublishStatusCallback : IVsPublishableProjectStatusCallback, 
    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 vsshell80.idl:

[C++]

HRESULT IVsPublishableProjectCfg::AdvisePublishStatusCallback(
   [in] IVsPublishableProjectStatusCallback *pIVsPublishStatusCallback, 
   [out] VSCOOKIE *pdwCookie
);

.NET Framework Security

See Also

Reference

IVsPublishableProjectCfg Interface

IVsPublishableProjectCfg Members

Microsoft.VisualStudio.Shell.Interop Namespace