ClientContext element
The required ClientContext element specifies a client-specific string.
Usage
<wscn:ClientDisplayName>
text
</wscn:ClientDisplayName>
Attributes
There are no attributes.
Text value
Required. Any valid character string.
Child elements
There are no child elements.
Parent elements
Element |
---|
DestinationResponse |
ScanAvailableEvent |
ScanDestination |
Remarks
When the parent element of the ClientContext element is ScanDestination, ClientContext specifies the string value that the client provides during a <wse:Subscribe> request to receive ScanAvailableEvent events.
When the parent element is DestinationResponse, ClientContext is a copy of the data that the client sends in the subscribe operation. The WSD Scan Service returns this copy in <wse:SubscribeResponse> when it responds to a client's subscription request .
When the parent element is ScanAvailableEvent, ClientContext contains the string value the scanner received as a part of the ScanAvailableEvent subscription request. This string enables the client to associate the ScanAvailableEvent with the correct scanner device and service.
The <wse:Subscribe> and <wse:SubscribeResponse> elements are described in the specification.