ILanguageExceptionErrorInfo2::GetPreviousLanguageExceptionErrorInfo method (restrictederrorinfo.h)
Retrieves the previous language exception error information object.
Syntax
HRESULT GetPreviousLanguageExceptionErrorInfo(
[out] ILanguageExceptionErrorInfo2 **previousLanguageExceptionErrorInfo
);
Parameters
[out] previousLanguageExceptionErrorInfo
Pointer to an ILanguageExceptionErrorInfo2 object that contains the previous error information object.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Generally speaking, GetPropagationContextHead is utilized to retrieve the linked list of IRestrictedErrorInfo objects that contains additional error information on the exception in question. You can then use GetPreviousLanguageExceptionErrorInfo to move through that linked list, and examine each error separately.
The operating system also uses this method to retrieve the stored exceptions associated with the error.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | restrictederrorinfo.h |