다음을 통해 공유


ScannerStatusConditionClearedEvent 요소

필요한 ScannerStatusConditionClearedEvent 요소는 이전에 보고된 DeviceCondition 조건이 스캐너에서 지워졌는지 클라이언트에 알릴 수 있습니다.

사용량

<wscn:ScannerStatusConditionClearedEvent>
  child elements
</wscn:ScannerStatusConditionClearedEvent>

특성

특성이 없습니다.

자식 요소

요소
DeviceConditionCleared

부모 요소

부모 요소가 없습니다.

설명

ScannerStatusConditionEvent에서 식별된 디바이스 조건이 지워지면 WSD Scan Service는 ScannerStatusConditionClearedEvent 요소를 보냅니다. ScannerStatusConditionClearedEvent 에는 지워진 조건과 지워진 시간을 포함하는 DeviceConditionCleared 요소가 포함되어 있습니다.

예제

다음 코드 예제에서는 디바이스가 ConditionId 1543이 식별한 이전 조건이 지워진 것을 클라이언트에 알리는 방법을 보여줍니다.

<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>

추가 정보

ConditionId

DeviceCondition

DeviceConditionCleared

ScannerStatusConditionEvent