Share via


DeploymentInitializeOptions Class

Definition

A class that represents deployment options. Passed as a parameter to DeploymentManager.Initialize(DeploymentInitializeOptions).

public ref class DeploymentInitializeOptions sealed
/// [Windows.Foundation.Metadata.Activatable(131072, "Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DeploymentInitializeOptions final
[Windows.Foundation.Metadata.Activatable(131072, "Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DeploymentInitializeOptions
function DeploymentInitializeOptions()
Public NotInheritable Class DeploymentInitializeOptions
Inheritance
Object Platform::Object IInspectable DeploymentInitializeOptions
Attributes

Constructors

DeploymentInitializeOptions()

Initializes a new instance of the DeploymentInitializeOptions class.

Properties

ForceDeployment

Gets or sets a value that indicates whether, when registering the Windows App SDK packages, the processes associated with the Windows App SDK Main and Singleton packages will be shut down forcibly if they are currently in use.

OnErrorShowUI

Gets or sets a value that indicates whether UI should be displayed in the event of an error.

Applies to

See also