This documentation is archived and is not being maintained.

ISerializerFactory Interface

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. 

Namespace:  System.Windows.Documents.Serialization
Assembly:  PresentationFramework (in PresentationFramework.dll)

public interface ISerializerFactory

The ISerializerFactory type exposes the following members.

Public propertyDefaultFileExtensionGets the default extension for files of the manufacturer's proprietary format.
Public propertyDisplayNameGets the public name of the manufacturer's serializing component.
Public propertyManufacturerNameGets the name of the serializing component's manufacturer.
Public propertyManufacturerWebsiteGets the web address of the serializing component's manufacturer.

Public methodCreateSerializerWriterInitializes an object derived from the abstract SerializerWriter class for the specified Stream.

XpsSerializerFactory in the System.Windows.Xps.Serialization namespace is Microsoft's implementation of this interface for serialized XML Paper Specification (XPS) content.

Notes to Callers

We recommend that you implement this interface only with a document format serializer that you wish to register using the RegisterSerializer method. Accordingly, we recommend that you not call your implementations of ISerializerFactory methods directly.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.