Share via


JobStateReasons element

The required JobStateReasons element contains all additional information about why the job is in its current state.

JobStateReasons is defined in the namespace at this URI: https://schemas.microsoft.com/windows/2006/08/wdp/print and referenced by the prefix wprt. (This resource may not be available in some languages and countries.)

Usage

<wprt:JobStateReasons>
  child elements
</wprt:JobStateReasons>

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

JobStateReason

Specifies one reason why a job is in its current state.

Parent elements

Element Description

JobStatus

Contains all information about the status of the current job.

Remarks

JobStateReasons contains a list of JobStateReason elements, each of which specifies one reason why a job is in its current state.

The following syntax block shows that you must also prefix the names of the child elements with the appropriate namespace (in this case wprt), to be certain that you are referencing child elements in the correct namespace.

<wprt:JobStateReasons>
 <wprt:JobStateReason> data </wprt:JobStateReason>
</wprt:JobStateReasons>

See also

JobStateReason

JobStatus

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012