Class
PdfPrintJobStatus
OfficeIMO.Workflows
A job's state as reported by its queue or printer.
Inheritance
- object
- PdfPrintJobStatus
Usage
Explore 12 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 7
- Extension method IPdfPrinterService.WaitForJobAsync
- Method IPdfPrinterService.CancelJobAsync
- Method IPdfPrinterService.GetJobAsync
- Method PdfPrinterService.CancelJobAsync
- Method PdfPrinterService.GetJobAsync
- Method PdfPrinterServiceExtensions.WaitForJobAsync
- Method PdfPrintJobStatus.<Clone>$
Accepted by parameters 5
- Method PdfPrintJobStatus.Equals
- Method PdfPrintJobStatus.op_Equality
- Method PdfPrintJobStatus.op_Equality
- Method PdfPrintJobStatus.op_Inequality
- Method PdfPrintJobStatus.op_Inequality
Constructors
public PdfPrintJobStatus(string PrinterName, string JobId, PdfPrintJobState State) #A job's state as reported by its queue or printer.
Parameters
- PrinterName string
- The printer name or URI the job was submitted to.
- JobId string
- The receipt's job identifier.
- State OfficeIMO.Workflows.PdfPrintJobState
- Current state.
Methods
public PdfPrintJobStatus <Clone>$() #Returns
PdfPrintJobStatuspublic void Deconstruct(out string PrinterName, out string JobId, out PdfPrintJobState State) #Parameters
- PrinterName string
- JobId string
- State PdfPrintJobState
Equals 2 overloads
public override int GetHashCode() #Returns
intpublic static bool op_Equality(PdfPrintJobStatus? left, PdfPrintJobStatus? right) #Parameters
- left PdfPrintJobStatus?
- right PdfPrintJobStatus?
Returns
boolpublic static bool op_Inequality(PdfPrintJobStatus? left, PdfPrintJobStatus? right) #Parameters
- left PdfPrintJobStatus?
- right PdfPrintJobStatus?
Returns
boolpublic override string ToString() #Returns
stringInherited Methods
Properties
public string PrinterName { get; init; } #The printer name or URI the job was submitted to.
public IReadOnlyList<string> StateReasons { get; init; } #Machine-readable reasons, such as job-printing, media-empty or paused.
public string? StateMessage { get; init; } #Human-readable status text from the printer or spooler.
public bool IsTerminal { get; } #True for canceled, aborted, completed and removed jobs, whose state no longer changes.