Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The required ScannerStatusConditionClearedEvent element informs the client that a previously reported DeviceCondition condition has been cleared at the scanner.
Usage
<wscn:ScannerStatusConditionClearedEvent>
child elements
</wscn:ScannerStatusConditionClearedEvent>
Attributes
There are no attributes.
Child elements
| Element |
|---|
| DeviceConditionCleared |
Parent elements
There are no parent elements.
Remarks
The WSD Scan Service sends a ScannerStatusConditionClearedEvent element when a device condition that is identified in ScannerStatusConditionEvent has been cleared. ScannerStatusConditionClearedEvent contains a DeviceConditionCleared element that contains the cleared condition and the time at which it was cleared.
Examples
The following code example shows how the device notifies a client that the previous condition that ConditionId 1543 identified has cleared:
<soap:Envelope
xmlns:soap="https://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="https://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wse="https://schemas.xmlsoap.org/ws/2004/08/eventing"
xmlns:wscn="https://schemas.microsoft.com/windows/2006/01/wdp/scan"
soap:encodingStyle='https://www.w3.org/2002/12/soap-encoding'>
<soap:Header>
<wsa:To>AddressofEventSink</wsa:To>
<wsa:Action>
https://schemas.microsoft.com/windows/2006/01/wdp/scan/ScannerStatusConditionClearedEvent
</wsa:Action>
<wsa:MessageID>uuid:UniqueMsgId</wsa:MessageID>
</soap:Header>
<soap:Body>
<wscn:ScannerStatusConditionClearedEvent>
<wscn:DeviceConditionCleared>
<wscn:ConditionId>1543</wscn:ConditionId>
<wscn:ConditionClearTime>
2006-01-21T17:22:35.8345Z
</wscn:ConditionClearTime>
</wscn:DeviceConditionCleared>
</wscn:ScannerStatusConditionClearedEvent>
</soap:Body
</soap:Envelope>