IVsAppContainerProjectDeployEvents.QueryDeployStart Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called before the application deployment begins. This event gives components the opportunity to stop the deployment process or force a local machine deployment.
public:
void QueryDeployStart(System::String ^ projectUniqueName, [Runtime::InteropServices::Out] bool % fForceLocalDeployment, [Runtime::InteropServices::Out] bool % fCancel, [Runtime::InteropServices::Out] System::String ^ % cancelReason);
void QueryDeployStart(std::wstring const & projectUniqueName, [Runtime::InteropServices::Out] bool & fForceLocalDeployment, [Runtime::InteropServices::Out] bool & fCancel, [Runtime::InteropServices::Out] std::wstring const & & cancelReason);
public void QueryDeployStart (string projectUniqueName, out bool fForceLocalDeployment, out bool fCancel, out string cancelReason);
abstract member QueryDeployStart : string * bool * bool * string -> unit
Public Sub QueryDeployStart (projectUniqueName As String, ByRef fForceLocalDeployment As Boolean, ByRef fCancel As Boolean, ByRef cancelReason As String)
Parameters
- projectUniqueName
- String
[in] The unique name of the project.
- fForceLocalDeployment
- Boolean
[out] Indicates whether to force local deployment. If true
, local deployment is forced.
- fCancel
- Boolean
[out] Indicates whether the deployment is canceled. If true
, the deployment is canceled.
- cancelReason
- String
[out] The reason the deployment was canceled.