共用方式為


IDeploymentContext.IsCanceled Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets whether the deployment was canceled by the user.

Namespace:  Microsoft.VisualStudio.SharePoint.Deployment
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
ReadOnly Property IsCanceled As Boolean
bool IsCanceled { get; }

Property Value

Type: System.Boolean
true if the deployment was canceled by the user; otherwise, false.

.NET Framework Security

See Also

Reference

IDeploymentContext Interface

Microsoft.VisualStudio.SharePoint.Deployment Namespace