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)

int AdviseDeployStatusCallback(
	IVsDeployStatusCallback^ pIVsDeployStatusCallback,
	[OutAttribute] unsigned int% pdwCookie
)

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.

Return to top
Show: