DeploymentResult Class

Definition

Provides deployment status and error information for the Windows App SDK runtime referenced by the current package.

C#
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentResultFactory), 1)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class DeploymentResult
C#
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentResultFactory), 65536, "Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentContract), 65536)]
public sealed class DeploymentResult
Inheritance
Object DeploymentResult
Attributes

Constructors

DeploymentResult(DeploymentStatus, HResult)

Initializes a new instance of the DeploymentResult class.

Properties

ExtendedError

Gets the first encountered error if there was an error initializing the Windows App SDK runtime or getting the status of the runtime.

Status

Gets the deployment status of the Windows App SDK runtime that is currently loaded.

Applies to

Product Versions
Windows App SDK 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also