Sdílet prostřednictvím


DeploymentResult.ExtendedErrorCode Property

Definition

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:
 property HResult ExtendedErrorCode { HResult get(); };
HResult ExtendedErrorCode();
public System.Exception ExtendedErrorCode { get; }
var hResult = deploymentResult.extendedErrorCode;
Public ReadOnly Property ExtendedErrorCode As Exception

Property Value

The error code.

Applies to