Share via


_xr_propertybag_error(const char *,HRESULT,const char *) (Compact 2013)

3/28/2014

This function prints an error message in the Platform Builder Output window.

Syntax

void inline _xr_propertybag_error(
const char * pMethod,
HRESULT hr,
const char * szDescription)

Parameters

  • pMethod
    [in] Name of the method that returned an error.
  • hr
    [in] HRESULT that the method returned.
  • szDescription
    [in] Description of the error.

Return Value

None.

Remarks

This function uses ERRORMSG to print a debug message.

Sometimes method implementations return error codes from internal calls to other methods. However, several different internal method calls can return the same error code, without providing more detailed information about which internal method call returned the error. You can call this function inside a method implementation to provide more detailed debugging information than an error code about which internal method call returned an error that caused the method to fail.

Requirements

Header

dbgapi.h,
XRPropertyBag.h

See Also

Reference

XAML for Windows Embedded Functions
TBoundPropertyBase.Set(const PropertyType&)
TBoundPropertyBase.Set(XRValue *)