Compartir a través de


PackageDeploymentResult.ExtendedError Property

Definition

Gets the extended error code, which you can use to distinguish a specific error condition (which needs to be handled differently) from the general error indicated by the return code.

public:
 property HResult ExtendedError { HResult get(); };
HResult ExtendedError();
public System.Exception ExtendedError { get; }
var hResult = packageDeploymentResult.extendedError;
Public ReadOnly Property ExtendedError As Exception

Property Value

The extended error code.

Remarks

The extended error code might provide a more specific reason for the failure that caused the general error. Also, it usually corresponds directly to the specific message in ErrorText.

Applies to