Share via


Assert Element

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

The Assert element represents a logged trace for an assertion.

Attributes

Attribute Description

File

The full file name to the source file where the assert is reported.

Line

The line number of the assert.

UserText

The text message for the assert.

 

Example

<Assert File="c:\tests\unittest\main.cxx" Line="233" 
        UserText="This is an assert" CA="35926" LA="2715741">

    <RTI ID="1207879918" />

    <CTX ID="1637872268" />

</Assert>

See Also

Logger XML Schema

 

 

Build date: 9/14/2012