Condividi tramite


DeploymentResult Classe

Definizione

Fornisce informazioni sullo stato di distribuzione e sugli errori per il runtime Windows App SDK a cui fa riferimento il pacchetto corrente.

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
Ereditarietà
Object Platform::Object IInspectable DeploymentResult
Attributi

Costruttori

DeploymentResult(DeploymentStatus, HResult)

Inizializza una nuova istanza della classe DeploymentResult .

Proprietà

ExtendedError

Ottiene il primo errore rilevato se si è verificato un errore durante l'inizializzazione del runtime Windows App SDK o il recupero dello stato del runtime.

Status

Ottiene lo stato di distribuzione del runtime Windows App SDK attualmente caricato.

Si applica a

Vedi anche