> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetBreakOnSeverity (XBOX Series 主機)

> 判斷訊息嚴重性層級的中斷是開啟還是關閉。

判斷訊息嚴重性層級的中斷是開啟還是關閉。

## 語法

```cpp theme={null}
BOOL GetBreakOnSeverity(  
         DXGI_DEBUG_ID Producer,  
         DXGI_INFO_QUEUE_MESSAGE_SEVERITY Severity  
)  
```

### 參數

*Producer*   \_In\_\
類型：[DXGI\_DEBUG\_ID](https://learn.microsoft.com/en-us/windows/desktop/direct3ddxgi/dxgi-debug-id)

取得中斷狀態之實體的識別碼。

*Severity*   \_In\_\
類型：[DXGI\_INFO\_QUEUE\_MESSAGE\_SEVERITY](https://learn.microsoft.com/en-us/windows/desktop/api/dxgidebug/ne-dxgidebug-dxgi_info_queue_message_severity)

訊息的嚴重性。

### 傳回值

類型：BOOL

如果指定訊息嚴重性的中斷已開啟，則傳回 **TRUE**；否則傳回 **FALSE**。

## 需求

**標頭：** d3d12\_xs.h

**程式庫：** d3d12\_xs.lib\
**支援的平台：** XBOX Series 主機

## 另請參閱

[IDXGIInfoQueue](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIInfoQueue/idxgiinfoqueue)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [XBOX Series X|S 總覽](/zh-TW/paths/series-xs/overview.md)
- [XR130 XBOX Series X|S Generation](/publishing/certification/fma/xr-130.md)
- [Play Anywhere(主機 + PC)總覽](/zh-TW/paths/play-anywhere/overview.md)
- [XBOX Certification Failure Mode Analysis (FMA)](/publishing/certification/fma/overview.md)
