Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 2.21 KB

devicecondition.md

File metadata and controls

69 lines (48 loc) · 2.21 KB
title description keywords topic_type ms.topic api_name api_type ms.date
DeviceCondition Element
The optional DeviceCondition element provides details about one of the scanner's currently active conditions.
DeviceCondition element Imaging Devices
apiref
reference
wscn DeviceCondition wscn Id "..."
Schema
04/21/2023

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