Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IRestrictedErrorInfo::GetErrorDetails method

Returns information about an error, including the restricted error description.

Syntax


HRESULT GetErrorDetails(
  [out] BSTR    *description,
  [out] HRESULT *error,
  [out] BSTR    *restrictedDescription
);

Parameters

description [out]

Type: BSTR*

The error description.

error [out]

Type: HRESULT*

The error code associated with the error condition.

restrictedDescription [out]

Type: BSTR*

The restricted error description.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

RestrictedErrorInfo.h

IDL

RestrictedErrorInfo.idl

See also

IRestrictedErrorInfo

 

 

Show: