ActiveCondition element
The optional ActiveCondition element is a list of DeviceCondition elements that describe all of the currently active conditions and/or errors on the device.
ActiveCondition is defined in the namespace at this URI: https://schemas.microsoft.com/windows/2005/05/wdp/print and referenced by the prefix wprt. (This resource may not be available in some languages and countries.)
Usage
<wprt:ActiveCondition>
child elements
</wprt:ActiveCondition>
Attributes
There are no attributes.
Text value
None
Child elements
Element | Description |
---|---|
Provides details about one of the printer's current conditions. |
Parent elements
Element | Description |
---|---|
Contains the current status of printer-related information that is controlled by automata. |
Remarks
ActiveCondition is a list of DeviceCondition elements, each of which provides details about one current condition on the printer. Device conditions can vary in severity from Informational to Critical.
The following syntax block shows that you must also prefix the names of the child elements with the appropriate namespace (in this case wprt), to be certain that your name references apply to child elements in the correct namespace.
<wprt:ActiveCondition>
<wprt:DeviceCondition> data </wprt:DeviceCondition>
</wprt:ActiveCondition>
See also
Send comments about this topic to Microsoft
Build date: 7/19/2012