IVsDeployableProjectCfg2.AdviseDeployStatusCallback Method (IVsDeployStatusCallback, UInt32%)
Establishes a callback for deployment status. Returns a cookie to save and use in the corresponding unadvise method.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaración
Function AdviseDeployStatusCallback ( _
pIVsDeployStatusCallback As IVsDeployStatusCallback, _
<OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
'Uso
Dim instance As IVsDeployableProjectCfg2
Dim pIVsDeployStatusCallback As IVsDeployStatusCallback
Dim pdwCookie As UInteger
Dim returnValue As Integer
returnValue = instance.AdviseDeployStatusCallback(pIVsDeployStatusCallback, _
pdwCookie)
int AdviseDeployStatusCallback(
IVsDeployStatusCallback pIVsDeployStatusCallback,
out uint pdwCookie
)
int AdviseDeployStatusCallback(
[InAttribute] IVsDeployStatusCallback^ pIVsDeployStatusCallback,
[OutAttribute] unsigned int% pdwCookie
)
abstract AdviseDeployStatusCallback :
pIVsDeployStatusCallback:IVsDeployStatusCallback *
pdwCookie:uint32 byref -> int
function AdviseDeployStatusCallback(
pIVsDeployStatusCallback : IVsDeployStatusCallback,
pdwCookie : uint
) : int
Parameters
- pIVsDeployStatusCallback
Type: Microsoft.VisualStudio.Shell.Interop.IVsDeployStatusCallback
[in] Pointer to an IVsDeployStatusCallback to use for calling back to report deployment status.
- pdwCookie
Type: System.UInt32%
[out] A VSCOOKIE representing this callback. Used in the UnadviseDeployStatusCallback method.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsDeployableProjectCfg.AdviseDeployStatusCallback(IVsDeployStatusCallback, UInt32%)
.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.
See Also
Reference
IVsDeployableProjectCfg2 Interface
IVsDeployableProjectCfg2 Members