ExternalException.ErrorCode 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 HRESULT
of the error.
public:
virtual property int ErrorCode { int get(); };
public virtual int ErrorCode { get; }
member this.ErrorCode : int
Public Overridable ReadOnly Property ErrorCode As Integer
Property Value
The HRESULT
of the error.
Remarks
See Common HRESULT values for a list of the more frequently encountered error codes. HRESULT
values are defined in the Winerror.h header file.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.