NetDataContractSerializer Constructor

 

Initializes a new instance of the NetDataContractSerializer class.

Namespace:   System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

NameDescription
System_CAPS_pubmethodNetDataContractSerializer()

Initializes a new instance of the NetDataContractSerializer class.

System_CAPS_pubmethodNetDataContractSerializer(StreamingContext)

Initializes a new instance of the NetDataContractSerializer class with the supplied streaming context data.

System_CAPS_pubmethodNetDataContractSerializer(StreamingContext, Int32, Boolean, FormatterAssemblyStyle, ISurrogateSelector)

Initializes a new instance of the NetDataContractSerializer class with the supplied context data; in addition, specifies the maximum number of items in the object to be serialized, and parameters to specify whether extra data is ignored, the assembly loading method, and a surrogate selector.

System_CAPS_pubmethodNetDataContractSerializer(String, String)

Initializes a new instance of the NetDataContractSerializer class with the supplied XML root element and namespace.

System_CAPS_pubmethodNetDataContractSerializer(String, String, StreamingContext, Int32, Boolean, FormatterAssemblyStyle, ISurrogateSelector)

Initializes a new instance of the NetDataContractSerializer class with the supplied context data and root name and namespace; in addition, specifies the maximum number of items in the object to be serialized, and parameters to specify whether extra data is ignored, the assembly loading method, and a surrogate selector.

System_CAPS_pubmethodNetDataContractSerializer(XmlDictionaryString, XmlDictionaryString)

Initializes a new instance of the NetDataContractSerializer class with two parameters of type XmlDictionaryString that contain the root element and namespace used to specify the content.

System_CAPS_pubmethodNetDataContractSerializer(XmlDictionaryString, XmlDictionaryString, StreamingContext, Int32, Boolean, FormatterAssemblyStyle, ISurrogateSelector)

Initializes a new instance of the NetDataContractSerializer class with the supplied context data, and root name and namespace (as XmlDictionaryString parameters); in addition, specifies the maximum number of items in the object to be serialized, and parameters to specify whether extra data found is ignored, assembly loading method, and a surrogate selector.

Return to top
Show: