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
'Declaration
Function AdvisePublishStatusCallback ( _
pIVsPublishStatusCallback As IVsPublishableProjectStatusCallback, _
<OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
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
pIVsPublishStatusCallback
Type: Microsoft.VisualStudio.Shell.Interop.IVsPublishableProjectStatusCallback[in] Pointer to an IVsPublishableProjectStatusCallback interface.
pdwCookie
Type: System.UInt32%[out] Integer. A VSCOOKIE representing the added callback. Used in UnadvisePublishStatusCallback to identify the callback.
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
- 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.