ILanguageExceptionErrorInfo::GetLanguageException method (restrictederrorinfo.h)

Gets the stored IUnknown object from the error object.

Syntax

HRESULT GetLanguageException(
  [out] IUnknown **languageException
);

Parameters

[out] languageException

The stored IUnknown object from the error object.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Language projections query for the appropriate interface to identify this object as generated from an exception to get the original object.

Requirements

Requirement Value
Target Platform Windows
Header restrictederrorinfo.h

See also

ILanguageExceptionErrorInfo