XErrorSetOptions
Specifies the desired behavior when an error occurs in the gaming OS or gaming runtime.Syntax
Parameters
optionsDebuggerPresent _In_Type: XErrorOptions Specifies the desired behavior when the debugger is attached. optionsDebuggerNotPresent _In_
Type: XErrorOptions Specifies the desired behavior when the debugger is not attached.
Return value
Type: voidRemarks
This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
XErrorDisableDebugBreak, to true.
The following example illustrates how to set error options, define a custom error callback, and set the custom callback to receive error notifications by the system.
Requirements
Header: XError.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
XError membersXErrorOptions
