共用方式為


IVsAppContainerProjectDeploy2.AdviseAppContainerDeployEvents Method

Definition

Enables a client to be notified of app container deployment events.

public:
 System::UInt32 AdviseAppContainerDeployEvents(Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployEvents ^ sink);
public:
 unsigned int AdviseAppContainerDeployEvents(Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployEvents ^ sink);
unsigned int AdviseAppContainerDeployEvents(Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployEvents const & sink);
public uint AdviseAppContainerDeployEvents (Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployEvents sink);
abstract member AdviseAppContainerDeployEvents : Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployEvents -> uint32
Public Function AdviseAppContainerDeployEvents (sink As IVsAppContainerProjectDeployEvents) As UInteger

Parameters

sink
IVsAppContainerProjectDeployEvents

[in] The event sink to call when an app container deployment event occurs.

Returns

A cookie associated with the given IVsAppContainerProjectDeployEvents interface.

Implements

Remarks

This method is safe to access from any thread.

Applies to