DeploymentResult class
Collapse the table of content
Expand the table of content

DeploymentResult class

Provides the result of a deployment request.

Important  You can't use this class in a Windows Store app.
 

Syntax


public sealed class DeploymentResult

Members

The DeploymentResult class has these types of members:

Methods

The DeploymentResult class inherits methods from the Object class.

Properties

The DeploymentResult class has these properties.

PropertyAccess typeDescription

ActivityId

Read-only

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.

ErrorText

Read-only

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

ExtendedErrorCode

Read-only

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.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Management.Deployment
Windows::Management::Deployment [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Minimum supported phone

None supported

Namespace

Windows.Management.Deployment
Windows::Management::Deployment [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

See also

Object
Reference
PackageManager.AddPackageAsync
PackageManager.CleanupPackageForUserAsync
PackageManager.RegisterPackageAsync
PackageManager.RemovePackageAsync
PackageManager.StagePackageAsync
PackageManager.UpdatePackageAsync

 

 

Show:
© 2016 Microsoft