| title | printTaskStatus resource type |
|---|---|
| description | Represents the current execution status of a printTask. |
| author | braedenp-msft |
| ms.localizationpriority | medium |
| ms.subservice | universal-print |
| doc_type | resourcePageType |
| ms.date | 07/23/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Represents the current execution status of a printTask.
Note: Applications that register task triggers are responsible for updating task statuses when processing is finished, unless the related print job has been redirected to another printer.
For details about how to use this resource to add pull printing support to Universal Print, see Extending Universal Print to support pull printing.
| Property | Type | Description |
|---|---|---|
| state | printTaskProcessingState | The current processing state of the printTask. Valid values are described in the following table. |
| description | String | A human-readable description of the current processing state of the printTask. |
| Member | Value | Description |
|---|---|---|
| pending | 0 | Task execution is pending. |
| processing | 1 | Task execution is in progress. |
| completed | 2 | Task execution has completed. |
| aborted | 3 | Task execution was aborted. |
| unknownFutureValue | 4 | Evolvable enumeration sentinel value. Do not use. |
None.
The following JSON representation shows the resource type.
{
"state": {"@odata.type": "microsoft.graph.printTaskProcessingState"},
"description": "String"
}