DeploymentResult DeploymentResult DeploymentResult DeploymentResult Class

Provides the result of a deployment request.

Syntax

Declaration

public sealed class DeploymentResultpublic sealed class DeploymentResultPublic NotInheritable Class DeploymentResultpublic sealed class DeploymentResult

Properties summary

Gets the activity identifier used to look up an event in Windows Event Viewer. Gets the activity identifier used to look up an event. All events of a deployment operation are logged with the same activityId.

Gets extended error text for the error if the deployment operation is not successful.

The extended error code can be used to distinguish a specific error condition which needs to be handled differently from the general error indicated by the return code. The extended error code may provide a more specific reason for the failure that caused the general error. Also, it usually corresponds directly to the specific message in the ErrorText.

Prerelease. Describes whether or not the package is fully registered and ready to use.

Properties

  • ActivityId
    ActivityId
    ActivityId
    ActivityId

    Gets the activity identifier used to look up an event in Windows Event Viewer. Gets the activity identifier used to look up an event. All events of a deployment operation are logged with the same activityId.

    public Guid ActivityId { get; }public Guid ActivityId { get; }Public ReadOnly Property ActivityId As Guidpublic Guid ActivityId { get; }

    Property Value

    • System.Guid
      System.Guid
      System.Guid
      System.Guid

      The activity identifier.

  • ErrorText
    ErrorText
    ErrorText
    ErrorText

    Gets extended error text for the error if the deployment operation is not successful.

    public string ErrorText { get; }public string ErrorText { get; }Public ReadOnly Property ErrorText As stringpublic string ErrorText { get; }

    Property Value

    • string
      string
      string
      string

      The extended error text.

  • ExtendedErrorCode
    ExtendedErrorCode
    ExtendedErrorCode
    ExtendedErrorCode

    The extended error code can be used to distinguish a specific error condition which needs to be handled differently from the general error indicated by the return code. The extended error code may provide a more specific reason for the failure that caused the general error. Also, it usually corresponds directly to the specific message in the ErrorText.

    public HResult ExtendedErrorCode { get; }public Exception ExtendedErrorCode { get; }Public ReadOnly Property ExtendedErrorCode As Exceptionpublic HResult ExtendedErrorCode { get; }

    Property Value

  • IsRegistered
    IsRegistered
    IsRegistered
    IsRegistered

    Prerelease. Describes whether or not the package is fully registered and ready to use.

    public bool IsRegistered { get; }public bool IsRegistered { get; }Public ReadOnly Property IsRegistered As boolpublic bool IsRegistered { get; }

    Property Value

    • bool
      bool
      bool
      bool

      true if the package is registered; otherwise, false.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.Management.Deployment.dll