GenerateDeploymentManifest.UpdateMode Property
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.
Gets or sets a Boolean value that indicates whether updates should be checked. Updates can be checked before the application is started (in the foreground), or when the application is running (in the background).
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
property System::String ^ UpdateMode { System::String ^ get(); void set(System::String ^ value); };
public string UpdateMode { get; set; }
public string UpdateMode { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.UpdateMode : string with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.UpdateMode : string with get, set
Public Property UpdateMode As String
Property Value
true
if updates should be checked; otherwise, false
.
- Attributes
Remarks
This property can have the following values:
Foreground
(before the application is started)Background
(when the application is running)
The default value is Background
. This property only applies when the values of the Install and UpdateEnabled properties are both true
.