Partager via


IVsDeployableProjectCfg2.AdviseDeployStatusCallback Method

Definition

Establishes a callback for deployment status. Returns a cookie to save and use in the corresponding unadvise method.

public:
 int AdviseDeployStatusCallback(Microsoft::VisualStudio::Shell::Interop::IVsDeployStatusCallback ^ pIVsDeployStatusCallback, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
int AdviseDeployStatusCallback(Microsoft::VisualStudio::Shell::Interop::IVsDeployStatusCallback const & pIVsDeployStatusCallback, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public int AdviseDeployStatusCallback (Microsoft.VisualStudio.Shell.Interop.IVsDeployStatusCallback pIVsDeployStatusCallback, out uint pdwCookie);
abstract member AdviseDeployStatusCallback : Microsoft.VisualStudio.Shell.Interop.IVsDeployStatusCallback * uint32 -> int
Public Function AdviseDeployStatusCallback (pIVsDeployStatusCallback As IVsDeployStatusCallback, ByRef pdwCookie As UInteger) As Integer

Parameters

pIVsDeployStatusCallback
IVsDeployStatusCallback

[in] Pointer to an IVsDeployStatusCallback to use for calling back to report deployment status.

pdwCookie
UInt32

[out] A VSCOOKIE representing this callback. Used in the UnadviseDeployStatusCallback(UInt32) method.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to