Bewerken

Share via


DataContractSerializerExtensions Class

Definition

Extends the DataContractSerializer class by providing methods for setting and getting an ISerializationSurrogateProvider.

public ref class DataContractSerializerExtensions abstract sealed
public static class DataContractSerializerExtensions
type DataContractSerializerExtensions = class
Public Module DataContractSerializerExtensions
Inheritance
DataContractSerializerExtensions

Methods

GetSerializationSurrogateProvider(DataContractSerializer)

Returns the surrogate serialization provider for this serializer.

SetSerializationSurrogateProvider(DataContractSerializer, ISerializationSurrogateProvider)

Specifies a surrogate serialization provider for this DataContractSerializer.

Applies to