IDataContractSurrogate Methods

IDataContractSurrogate Methods

 

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

NameDescription
System_CAPS_pubmethodGetCustomDataToExport(MemberInfo, Type)

During schema export operations, inserts annotations into the schema for non-null return values.

System_CAPS_pubmethodGetCustomDataToExport(Type, Type)

During schema export operations, inserts annotations into the schema for non-null return values.

System_CAPS_pubmethodGetDataContractType(Type)

During serialization, deserialization, and schema import and export, returns a data contract type that substitutes the specified type.

System_CAPS_pubmethodGetDeserializedObject(Object, Type)

During deserialization, returns an object that is a substitute for the specified object.

System_CAPS_pubmethodGetKnownCustomDataTypes(Collection<Type>)

Sets the collection of known types to use for serialization and deserialization of the custom data objects.

System_CAPS_pubmethodGetObjectToSerialize(Object, Type)

During serialization, returns an object that substitutes the specified object.

System_CAPS_pubmethodGetReferencedTypeOnImport(String, String, Object)

During schema import, returns the type referenced by the schema.

System_CAPS_pubmethodProcessImportedType(CodeTypeDeclaration, CodeCompileUnit)

Processes the type that has been generated from the imported schema.

Return to top
Show:
© 2016 Microsoft