IRestrictedErrorInfo::GetErrorDetails method (restrictederrorinfo.h)
Returns information about an error, including the restricted error description.
Syntax
HRESULT GetErrorDetails(
[out] BSTR *description,
[out] HRESULT *error,
[out] BSTR *restrictedDescription,
BSTR *capabilitySid
);
Parameters
[out] description
Type: BSTR*
The error description.
[out] error
Type: HRESULT*
The error code associated with the error condition.
[out] restrictedDescription
Type: BSTR*
The restricted error description.
capabilitySid
TBD
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | restrictederrorinfo.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for