Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called before the application deployment begins. This event gives components the opportunity to stop the deployment process or force a local machine deployment.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Sub QueryDeployStart ( _
projectUniqueName As String, _
<OutAttribute> ByRef fForceLocalDeployment As Boolean, _
<OutAttribute> ByRef fCancel As Boolean, _
<OutAttribute> ByRef cancelReason As String _
)
void QueryDeployStart(
string projectUniqueName,
out bool fForceLocalDeployment,
out bool fCancel,
out string cancelReason
)
void QueryDeployStart(
[InAttribute] String^ projectUniqueName,
[OutAttribute] bool% fForceLocalDeployment,
[OutAttribute] bool% fCancel,
[OutAttribute] String^% cancelReason
)
abstract QueryDeployStart :
projectUniqueName:string *
fForceLocalDeployment:bool byref *
fCancel:bool byref *
cancelReason:string byref -> unit
function QueryDeployStart(
projectUniqueName : String,
fForceLocalDeployment : boolean,
fCancel : boolean,
cancelReason : String
)
Parameters
projectUniqueName
Type: String[in] The unique name of the project.
fForceLocalDeployment
Type: Boolean%[out] Indicates whether to force local deployment. If true, local deployment is forced.
fCancel
Type: Boolean%[out] Indicates whether the deployment is canceled. If true, the deployment is canceled.
cancelReason
Type: String%[out] The reason the deployment was canceled.
.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.