DeviceCondition element

The optional DeviceCondition element provides details about one of the scanner's currently active conditions.

Usage

<wscn:DeviceCondition wscn:Id="..."
  Id = "xs:string">
  child elements
</wscn:DeviceCondition wscn:Id="...">

Attributes

Attribute Type Required Description
Id xs:string No Required. An integer from 1 through 2147483648.

Child elements

Element
Component
Name Elementfor DeviceCondition and ConditionHistoryEntry
Severity
Time

Parent elements

Element
ActiveConditions

Remarks

The WSD Scan Service specifies a unique identifier in the Id attribute for this DeviceCondition element. The client can use Id, along with the value of the Time element, to determine if an error condition is new or has gone away. The WSD Scan Service must not reuse the identifier for as long as possible. This delay ensures that clients can accurately keep track of individual DeviceCondition elements.

The WSD Scan Service informs a client about changes to the scanner's status by sending a ScannerStatusConditionEvent event. A client can directly query the scanner's state by calling the GetScannerElementsRequest operation.

See also

ActiveConditions

Component

GetScannerElementsRequest

Name Elementfor DeviceCondition and ConditionHistoryEntry

ScannerStatusConditionEvent

Severity

Time