Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

System.Windows.Documents.Serialization-Namespace

Provides classes that support the creation and use of run-time accessible plug-in serializers which 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.

For System.Windows.Documents.Serialization related example programs, see the following topics:

 KlasseBeschreibung
Öffentliche KlasseSerializerDescriptorProvides information about installed plug-in serializers. This class cannot be inherited.
Öffentliche KlasseSerializerProviderManages serialization plug-ins created, using ISerializerFactory and SerializerDescriptor, by manufacturers who have their own proprietary serialization formats. This class cannot be inherited.
Öffentliche KlasseSerializerWriterDefines the abstract methods that are required to implement a plug-in document output serializer.
Öffentliche KlasseSerializerWriterCollatorDefines the abstract methods required to implement a plug-in document serialization Visual collator.
Öffentliche KlasseWritingCancelledEventArgsProvides data for the WritingCancelled event.
Öffentliche KlasseWritingCompletedEventArgsProvides data for the WritingCompleted event.
Öffentliche KlasseWritingPrintTicketRequiredEventArgsProvides data for the WritingPrintTicketRequired event.
Öffentliche KlasseWritingProgressChangedEventArgsProvides data for the WritingProgressChanged event.

 SchnittstelleBeschreibung
Öffentliche SchnittstelleISerializerFactoryProvides 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.

 DelegatBeschreibung
Öffentlicher DelegatWritingCancelledEventHandlerRepresents a method that handles the WritingCancelled event.
Öffentlicher DelegatWritingCompletedEventHandlerRepresents a method that handles the WritingCompleted event of the XpsDocumentWriter class.
Öffentlicher DelegatWritingPrintTicketRequiredEventHandlerRepresents the method that handles the WritingPrintTicketRequired event of an XpsDocumentWriter.
Öffentlicher DelegatWritingProgressChangedEventHandlerRepresents a method that handles the WritingProgressChanged event of an XpsDocumentWriter.

 EnumerationBeschreibung
Öffentliche EnumerationWritingProgressChangeLevelSpecifies the scope of a WritingProgressChanged event.
Anzeigen: