Share via


Troubleshooting Exceptions: System.Windows.Xps.XpsWriterException

An XpsWriterException exception is thrown when a method of either an XpsDocumentWriter or a VisualsToXpsDocument object is called that is incompatible with the current state of the object.

Remarks

For example, this exception is thrown if the CancelAsync method of either object type is called when the object is not performing an asynchronous write operation.

See Also

Tasks

How to: Use the Exception Assistant

Reference

XpsWriterException