DataContractSerializerExtensions.SetSerializationSurrogateProvider(DataContractSerializer, ISerializationSurrogateProvider) DataContractSerializerExtensions.SetSerializationSurrogateProvider(DataContractSerializer, ISerializationSurrogateProvider) DataContractSerializerExtensions.SetSerializationSurrogateProvider(DataContractSerializer, ISerializationSurrogateProvider) DataContractSerializerExtensions.SetSerializationSurrogateProvider(DataContractSerializer, ISerializationSurrogateProvider) Method

Definition

Specifies a surrogate serialization provider for this DataContractSerializer.

public:
[System::Runtime::CompilerServices::Extension]
 static void SetSerializationSurrogateProvider(System::Runtime::Serialization::DataContractSerializer ^ serializer, System::Runtime::Serialization::ISerializationSurrogateProvider ^ provider);
public static void SetSerializationSurrogateProvider (this System.Runtime.Serialization.DataContractSerializer serializer, System.Runtime.Serialization.ISerializationSurrogateProvider provider);
static member SetSerializationSurrogateProvider : System.Runtime.Serialization.DataContractSerializer * System.Runtime.Serialization.ISerializationSurrogateProvider -> unit
<Extension()>
Public Sub SetSerializationSurrogateProvider (serializer As DataContractSerializer, provider As ISerializationSurrogateProvider)

Parameters

Applies to