xtd 0.2.0
Loading...
Searching...
No Matches

◆ cassert() [2/6]

static void xtd::diagnostics::trace::cassert ( bool  condition,
const xtd::string message 
)
static

Checks for a condition; if the condition is false, displays a message box that shows the call stack.

Parameters
conditionThe conditional expression to evaluate. If the condition is true, a failure message is not sent and the message box is not displayed.
messageThe message to send to the Listeners collection.