共用方式為


DeploymentResult 類別

定義

提供目前封裝所參考Windows 應用程式 SDK執行時間的部署狀態和錯誤資訊。

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
繼承
Object Platform::Object IInspectable DeploymentResult
屬性

建構函式

DeploymentResult(DeploymentStatus, HResult)

初始化 DeploymentResult 類別的新實例。

屬性

ExtendedError

如果初始化Windows 應用程式 SDK執行時間或取得執行時間狀態時發生錯誤,取得第一個發生錯誤。

Status

取得目前載入之Windows 應用程式 SDK執行時間的部署狀態。

適用於

另請參閱