Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

System.Windows.Documents.Serialization Namespace

Provides types that support the creation and use of run-time accessible plug-in serializers that read and write documents in different data formats.

Plug-in serializers can only be used with full trust applications.

When called by the application, the plug-in serializer runs in the same thread as the application and can only access elements created within the application thread. When designing a custom plug-in serializer, it is important to properly handle all possible error conditions. A failure within a plug-in serializer can cause an application to fail.

  Class Description
Public class SerializerDescriptor Provides information about installed plug-in serializers.
Public class SerializerProvider Manages serialization plug-ins created, using ISerializerFactory and SerializerDescriptor, by manufacturers who have their own proprietary serialization formats.
Public class SerializerWriter Defines the abstract methods and events that are required to implement a plug-in document output serializer.
Public class SerializerWriterCollator Defines the abstract methods required to implement a plug-in document serialization Visual collator.
Public class WritingCancelledEventArgs Provides data for the WritingCancelled event.
Public class WritingCompletedEventArgs Provides data for the WritingCompleted event.
Public class WritingPrintTicketRequiredEventArgs Provides data for the WritingPrintTicketRequired event.
Public class WritingProgressChangedEventArgs Provides data for the WritingProgressChanged event.

  Interface Description
Public interface ISerializerFactory Provides a means for creating a software component that can serialize any part of a Windows Presentation Foundation (WPF) application's content to a manufacturer's proprietary format. 

  Delegate Description
Public delegate WritingCancelledEventHandler Represents a method that will handle the XpsDocumentWriter.WritingCancelled event.
Public delegate WritingCompletedEventHandler Represents a method that handles the WritingCompleted event of the XpsDocumentWriter class.
Public delegate WritingPrintTicketRequiredEventHandler Represents the method that handles the WritingPrintTicketRequired event of an XpsDocumentWriter.
Public delegate WritingProgressChangedEventHandler Represents a method that will handle the WritingProgressChanged event of an XpsDocumentWriter.

  Enumeration Description
Public enumeration WritingProgressChangeLevel Specifies the scope of a WritingProgressChanged event.
© 2015 Microsoft