ID3D11InfoQueue::SetBreakOnSeverity Method

Set a message severity level to break on when a message with that severity level passes through the storage filter.

Syntax

public:
HRESULT SetBreakOnSeverity(
         D3D11_MESSAGE_SEVERITY Severity,
         BOOL bEnable
)  

Parameters

Severity
Type: D3D11_MESSAGE_SEVERITY 

[in] A D3D11_MESSAGE_SEVERITY, which represents a message severity level to break on.

bEnable
Type: BOOL 

[in] Turns this breaking condition on or off (true for on, false for off).

Return value

Type: HRESULT 

This method returns one of the following Direct3D 11 return codes.

Requirements

Header: Declared in d3d11sdklayers.h.

Library: Use d3d11.lib.

See also

ID3D11InfoQueue

ID3D11InfoQueue Members