DeploymentManager.Initialize Method

Definition

Overloads

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.

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.

public:
 static DeploymentResult ^ Initialize();
 static DeploymentResult Initialize();
/// [Windows.Foundation.Metadata.Overload("Initialize")]
 static DeploymentResult Initialize();
public static DeploymentResult Initialize();
[Windows.Foundation.Metadata.Overload("Initialize")]
public static DeploymentResult Initialize();
function initialize()
Public Shared Function Initialize () As DeploymentResult

Returns

DeploymentResult

An object that provides deployment status and error information for the Windows App SDK runtime referenced by the current package.

Attributes

Remarks

If an error occurs during a package install, the ExtendedError property of the return value will contain the first error that was encountered.

If multiple packages are required for install, then this method will attempt to install all required packages. If an error occurs during one of the subsequent package installations, then packages that were successfully installed earlier won't be rolled back.

See also

Applies to

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.

public:
 static DeploymentResult ^ Initialize(DeploymentInitializeOptions ^ deploymentInitializeOptions);
/// [Windows.Foundation.Metadata.Overload("Initialize")]
 static DeploymentResult Initialize(DeploymentInitializeOptions const& deploymentInitializeOptions);
[Windows.Foundation.Metadata.Overload("Initialize")]
public static DeploymentResult Initialize(DeploymentInitializeOptions deploymentInitializeOptions);
function initialize(deploymentInitializeOptions)
Public Shared Function Initialize (deploymentInitializeOptions As DeploymentInitializeOptions) As DeploymentResult

Parameters

deploymentInitializeOptions
DeploymentInitializeOptions

A DeploymentInitializeOptions object that specifies options for the registration operation.

Returns

DeploymentResult

An object that provides deployment status and error information for the Windows App SDK runtime referenced by the current package.

Attributes

Remarks

See Remarks for Initialize().

See also

Applies to