Compartilhar via


DeployManifest.UpdateMode Property

Gets or sets an object indicating whether updates should be checked in the foreground before the application is started, or in the background while the application is running.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property UpdateMode As UpdateMode
public UpdateMode UpdateMode { get; set; }
public:
property UpdateMode UpdateMode {
    UpdateMode get ();
    void set (UpdateMode value);
}
member UpdateMode : UpdateMode with get, set
function get UpdateMode () : UpdateMode 
function set UpdateMode (value : UpdateMode)

Property Value

Type: Microsoft.Build.Tasks.Deployment.ManifestUtilities.UpdateMode
An UpdateMode object that indicates whether updates should be checked before the application is started, or while the application is running.

Remarks

If this property is set to Foreground, updates are checked in the foreground. The default is Background. For more information, see UpdateMode.

This input only applies only when Install and UpdateEnabled are both set to true.

.NET Framework Security

See Also

Reference

DeployManifest Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace