DeploymentManager Class

Definition

Provides access to deployment information for the Windows App SDK runtime.

Important

Your app should call DeploymentManager.Initialize during startup. For more info, see Initialize the Windows App SDK.

public ref class DeploymentManager abstract sealed
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class DeploymentManager final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentContract, 65536)]
class DeploymentManager final
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public static class DeploymentManager
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentContract), 65536)]
public static class DeploymentManager
Public Class DeploymentManager
Inheritance
Object Platform::Object IInspectable DeploymentManager
Attributes

Methods

GetStatus()

Returns the current deployment status of the Windows App SDK runtime that is currently loaded. Use this method to identify if there is work required to install Windows App SDK runtime packages before the current app can use Windows App SDK features.

Initialize()

Checks the status of the Windows App SDK runtime referenced by the current package, and attempts to register any missing Windows App SDK packages that can be registered

Important

Your app should call DeploymentManager.Initialize during startup. For more info, see Initialize the Windows App SDK.

Initialize(DeploymentInitializeOptions)

Checks the status of the Windows App SDK runtime referenced by the current package, and attempts to register any missing Windows App SDK packages that can be registered, while applying the options supplied.

Important

Your app should call DeploymentManager.Initialize during startup. For more info, see Initialize the Windows App SDK.

Applies to

See also