Udostępnij za pośrednictwem


DataContractSerializerExtensions.GetSerializationSurrogateProvider Metoda

Definicja

Zwraca dostawcę serializacji zastępczej dla tego serializatora.

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

Parametry

serializer
DataContractSerializer

Serializator, który jest zastępczy.

Zwraca

Serializator zastępczy.

Dotyczy