Partager via


DataContractSerializerExtensions.GetSerializationSurrogateProvider Méthode

Définition

Retourne le substitut de fournisseur de sérialisation pour ce sérialiseur.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Serialization::ISerializationSurrogateProvider ^ GetSerializationSurrogateProvider(System::Runtime::Serialization::DataContractSerializer ^ serializer);
public static System.Runtime.Serialization.ISerializationSurrogateProvider GetSerializationSurrogateProvider (this System.Runtime.Serialization.DataContractSerializer serializer);
public static System.Runtime.Serialization.ISerializationSurrogateProvider? GetSerializationSurrogateProvider (this System.Runtime.Serialization.DataContractSerializer serializer);
static member GetSerializationSurrogateProvider : System.Runtime.Serialization.DataContractSerializer -> System.Runtime.Serialization.ISerializationSurrogateProvider
<Extension()>
Public Function GetSerializationSurrogateProvider (serializer As DataContractSerializer) As ISerializationSurrogateProvider

Paramètres

serializer
DataContractSerializer

Sérialiseur substitué.

Retours

Sérialiseur de substitution.

S’applique à