PackageDeploymentResult.ExtendedError Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.