DeploymentInitializeOptions 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示部署选项的类。 作为参数传递给 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
- 继承
- 属性
构造函数
DeploymentInitializeOptions() |
初始化 DeploymentInitializeOptions 类的新实例。 |
属性
ForceDeployment |
获取或设置一个值,该值指示在注册Windows 应用 SDK包时,如果当前正在使用与 Windows 应用 SDK Main 包和单一实例包关联的进程,是否将被强制关闭。 |
OnErrorShowUI |
获取或设置一个值,该值指示在发生错误时是否应显示 UI。 |