Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DeploymentResult class

Applies to Windows only

Provides the result of a deployment request.

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

Syntax


public sealed class DeploymentResult

Attributes

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

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-onlyGets 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-onlyGets extended error text for the error if the deployment operation is not successful.

ExtendedErrorCode

Read-onlyThe 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

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

See also

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

 

 

Show:
© 2014 Microsoft