Open sandboxFocus

Constructor PortableSerializer

PortableSerializer()

Initializes a new instance of the PortableSerializer class with a new default PortableFormatter.

Declaration
public PortableSerializer()

PortableSerializer(PortableFormatter)

Initializes a new instance of the PortableSerializer class with a given PortableFormatter.

Declaration
public PortableSerializer(PortableFormatter serializer)
Parameters
Type Name Description
PortableFormatter serializer

A PortableFormatter, or null to use a new default PortableFormatter.