Share via


DeploymentResult Class

Definition

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

public ref class DeploymentResult sealed
/// [Windows.Foundation.Metadata.Activatable(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)]
class DeploymentResult final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentResultFactory, 65536, "Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentContract, 65536)]
class DeploymentResult final
[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
[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
function DeploymentResult(status, extendedError)
Public NotInheritable Class DeploymentResult
Inheritance
Object Platform::Object IInspectable 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

See also