DeploymentInitializeOptions Class
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.
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
- 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for